|
@@ -201,10 +201,16 @@ BlazeComponent.extendComponent({
|
|
|
return user.getListWidth(list.boardId, list._id);
|
|
|
},
|
|
|
|
|
|
+ listConstraint() {
|
|
|
+ const user = ReactiveCache.getCurrentUser();
|
|
|
+ const list = Template.currentData();
|
|
|
+ return user.getListConstraint(list.boardId, list._id);
|
|
|
+ },
|
|
|
+
|
|
|
autoWidth() {
|
|
|
const user = ReactiveCache.getCurrentUser();
|
|
|
const list = Template.currentData();
|
|
|
- return user.hasAutoWidth(list.boardId);
|
|
|
+ return user.isAutoWidth(list.boardId);
|
|
|
},
|
|
|
}).register('list');
|
|
|
|