Im developing a datasource backend plugin for calling some data from a postgresql database. Im able to connect to the database and make queries when pressing on a button in my query editor by using this.props.onRunQuery();
However, Im not able to make queries when pressing on the “Refresh dashboard” button (top right). So the data I get when creating the panel is static.
How can I make a query when pressing that button? Any help? Why the refresh dashboard button dosen’t make any more queries?