Replace Session.get with utility call

This commit is contained in:
Nadav Tasher 2024-12-07 21:26:25 +02:00
parent 52a02409f0
commit d1e2db9cb8

View file

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