1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-23 15:29:42 +02:00

feat(upgrade): show subtle banner [EE-5017] (#8489)

This commit is contained in:
Chaim Lev-Ari 2023-02-19 09:47:50 +05:30 committed by GitHub
parent 631503fc1b
commit 9a8e95d017
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 217 additions and 90 deletions

View file

@ -5,7 +5,6 @@ export function createMockUser(id: number, username: string): UserViewModel {
Id: id,
Username: username,
Role: 2,
UserTheme: '',
EndpointAuthorizations: {},
PortainerAuthorizations: {
PortainerDockerHubInspect: true,
@ -25,5 +24,9 @@ export function createMockUser(id: number, username: string): UserViewModel {
RoleName: 'user',
Checked: false,
AuthenticationMethod: '',
ThemeSettings: {
color: 'auto',
subtleUpgradeButton: false,
},
};
}