min working example with listWidth

This commit is contained in:
mark 2023-06-13 12:54:18 -05:00
parent f2e4a280d7
commit 0ec9c4c37b
3 changed files with 10 additions and 3 deletions

View file

@ -201,6 +201,12 @@ BlazeComponent.extendComponent({
});
});
},
listWidth() {
const user = Meteor.user();
const list = Template.currentData();
return user.getListWidth(list.boardId, list._id);
},
}).register('list');
Template.miniList.events({