Skip to content

Commit

Permalink
Updated refresh function in the Update Request
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhail-vl committed Nov 12, 2024
1 parent 7b9df92 commit c0a9bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ console.log(dataQuery);`;
*/
export const UPDATE_CODE_DEFAULT = `if (context.panel.response) {
context.grafana.notifySuccess(['Update', 'Values updated successfully.']);
context.grafana.locationService.reload();
context.grafana.refresh();
} else {
context.grafana.notifyError(['Update', 'An error occurred updating values.']);
}`;
Expand Down

0 comments on commit c0a9bb3

Please sign in to comment.