瀏覽代碼

fixed issue with save.

Peter Holmberg 7 年之前
父節點
當前提交
655f4d0a8d
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      public/app/features/teams/state/actions.ts

+ 2 - 1
public/app/features/teams/state/actions.ts

@@ -223,6 +223,7 @@ export function updateTeamPreferences() {
     const preferences = getStore().team.preferences;
 
     await getBackendSrv().put(`/api/teams/${team.id}/preferences`, preferences);
-    window.location.reload();
+
+    dispatch(loadTeamPreferences());
   };
 }