mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(UI): Make sure localStorage.getUserId actually returns user id R8S-290 (#623)
This commit is contained in:
parent
64c796a8c3
commit
46eddbe7b9
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ angular.module('portainer.app').factory('LocalStorage', [
|
|||
return localStorageService.get('UI_STATE');
|
||||
},
|
||||
getUserId() {
|
||||
localStorageService.get('USER_ID');
|
||||
return localStorageService.get('USER_ID');
|
||||
},
|
||||
storeUserId: function (userId) {
|
||||
localStorageService.set('USER_ID', userId);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue