mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 12:48:49 +01:00
Use utility function is autoWidth function
This commit is contained in:
parent
f9f0523112
commit
c06bcac9f3
1 changed files with 1 additions and 3 deletions
|
|
@ -208,9 +208,7 @@ BlazeComponent.extendComponent({
|
|||
},
|
||||
|
||||
autoWidth() {
|
||||
const user = ReactiveCache.getCurrentUser();
|
||||
const list = Template.currentData();
|
||||
return user.isAutoWidth(list.boardId);
|
||||
return user.isAutoWidth(Utils.getCurrentBoardId());
|
||||
},
|
||||
}).register('list');
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue