瀏覽代碼

reload browser after preferences been updated

Marcus Efraimsson 7 年之前
父節點
當前提交
9606491f6c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      public/app/core/components/SharedPreferences/SharedPreferences.tsx

+ 1 - 0
public/app/core/components/SharedPreferences/SharedPreferences.tsx

@@ -62,6 +62,7 @@ export class SharedPreferences extends PureComponent<Props, State> {
       theme,
       timezone,
     });
+    window.location.reload();
   };
 
   onThemeChanged = (theme: string) => {