From 748e99a923db03febe0e1ce0af1a87107a4e1b10 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Fri, 11 Jun 2021 06:23:28 -0400 Subject: [PATCH] Configuration: Fix changing org preferences on FireFox (#35549) (#35551) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 1838e6b7749ba291c5c2d44fe8e8f20338d05372) Co-authored-by: Hugo Häggmark --- .../app/core/components/SharedPreferences/SharedPreferences.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/core/components/SharedPreferences/SharedPreferences.tsx b/public/app/core/components/SharedPreferences/SharedPreferences.tsx index f717996f837..008bb45310b 100644 --- a/public/app/core/components/SharedPreferences/SharedPreferences.tsx +++ b/public/app/core/components/SharedPreferences/SharedPreferences.tsx @@ -90,7 +90,7 @@ export class SharedPreferences extends PureComponent { onSubmitForm = async () => { const { homeDashboardId, theme, timezone } = this.state; - this.service.update({ homeDashboardId, theme, timezone }); + await this.service.update({ homeDashboardId, theme, timezone }); window.location.reload(); };