mirror of
https://github.com/portainer/portainer.git
synced 2025-08-04 21:35:23 +02:00
feat(frontend): dark and high contrast theme supported EE-909 (#5353)
* feat dark theme & high contrast theme supported
This commit is contained in:
parent
e49e90f304
commit
8d8f21368d
34 changed files with 1352 additions and 107 deletions
|
@ -2,6 +2,7 @@ export function UserViewModel(data) {
|
|||
this.Id = data.Id;
|
||||
this.Username = data.Username;
|
||||
this.Role = data.Role;
|
||||
this.UserTheme = data.UserTheme;
|
||||
if (data.Role === 1) {
|
||||
this.RoleName = 'administrator';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue