Configuration: Fix changing org preferences on FireFox (#35549) (#35551)

(cherry picked from commit 1838e6b774)

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
This commit is contained in:
Grot (@grafanabot)
2021-06-11 12:23:28 +02:00
committed by GitHub
co-authored by Hugo Häggmark
parent ab7efc2bb6
commit 748e99a923
@@ -90,7 +90,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
onSubmitForm = async () => {
const { homeDashboardId, theme, timezone } = this.state;
this.service.update({ homeDashboardId, theme, timezone });
await this.service.update({ homeDashboardId, theme, timezone });
window.location.reload();
};