From 655f4d0a8d295cfa30667db7e433d4082e8f2991 Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Tue, 13 Nov 2018 18:23:35 +0100 Subject: [PATCH] fixed issue with save. --- public/app/features/teams/state/actions.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/features/teams/state/actions.ts b/public/app/features/teams/state/actions.ts index f22b2f98d9f..d8bdfb88f47 100644 --- a/public/app/features/teams/state/actions.ts +++ b/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()); }; }