1
0
Fork 0
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:
James Player 2025-04-09 09:09:07 +12:00 committed by GitHub
parent 64c796a8c3
commit 46eddbe7b9

View file

@ -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);