mirror of
https://github.com/portainer/portainer.git
synced 2025-08-08 07:15:23 +02:00
fix(sidebar): rework the update notification [EE-4119] (#7575)
This commit is contained in:
parent
d24e5ff71e
commit
c79be58700
4 changed files with 71 additions and 15 deletions
|
@ -5,6 +5,7 @@ import { useLocalStorage } from '@/portainer/hooks/useLocalStorage';
|
|||
interface UIState {
|
||||
dismissedInfoPanels: Record<string, string>;
|
||||
dismissedInfoHash: string;
|
||||
dismissedUpdateVersion: string;
|
||||
}
|
||||
|
||||
type UIStateService = [UIState, (state: UIState) => void];
|
||||
|
|
|
@ -26,6 +26,7 @@ function StateManagerFactory(
|
|||
dismissedInfoPanels: {},
|
||||
dismissedInfoHash: '',
|
||||
timesPasswordChangeSkipped: {},
|
||||
dismissedUpdateVersion: '',
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue