Update 0BDFDB.plugin.js
This commit is contained in:
parent
4c11929e15
commit
71f10f55c7
|
@ -2866,7 +2866,7 @@ module.exports = (_ => {
|
|||
var myDataUser = LibraryModules.UserStore && LibraryModules.UserStore.getCurrentUser && LibraryModules.UserStore.getCurrentUser();
|
||||
BDFDB.UserUtils.me = new Proxy(myDataUser || {}, {
|
||||
get: function (list, item) {
|
||||
return (myDataUser = LibraryModules.UserStore.getCurrentUser()) && myDataUser[item];
|
||||
return (myDataUser = (LibraryModules.UserStore && LibraryModules.UserStore.getCurrentUser && LibraryModules.UserStore.getCurrentUser() || {})) && myDataUser[item];
|
||||
}
|
||||
});
|
||||
BDFDB.UserUtils.getStatus = function (id = BDFDB.UserUtils.me.id) {
|
||||
|
|
Loading…
Reference in New Issue