Procházet zdrojové kódy

fixed issue with save.

Peter Holmberg před 7 roky
rodič
revize
655f4d0a8d
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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;
     const preferences = getStore().team.preferences;
 
 
     await getBackendSrv().put(`/api/teams/${team.id}/preferences`, preferences);
     await getBackendSrv().put(`/api/teams/${team.id}/preferences`, preferences);
-    window.location.reload();
+
+    dispatch(loadTeamPreferences());
   };
   };
 }
 }