mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 15:18:49 +01:00
Replace Session.get with utility call
This commit is contained in:
parent
52a02409f0
commit
d1e2db9cb8
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
isAutoWidth() {
|
||||
const boardId = Session.get('currentBoard');
|
||||
const boardId = Utils.getCurrentBoardId();
|
||||
const user = ReactiveCache.getCurrentUser();
|
||||
return user && user.isAutoWidth(boardId);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue