change Meteor.user() to ReactiveCache.getCurrentUser()

- see also: https://github.com/wekan/wekan/issues/5000
This commit is contained in:
Martin Filser 2023-07-31 22:37:55 +02:00
parent 4801e26b2f
commit bff96f6ae2
6 changed files with 10 additions and 10 deletions

View file

@ -362,7 +362,7 @@ BlazeComponent.extendComponent({
listWidthValue() {
const list = Template.currentData();
const board = list.boardId;
return Meteor.user().getListWidth(board, list._id);
return ReactiveCache.getCurrentUser().getListWidth(board, list._id);
},
events() {