mirror of
https://github.com/wekan/wekan.git
synced 2026-02-25 17:34:07 +01:00
debug isBoardAdmin on main page
This commit is contained in:
parent
a68ecc079d
commit
35ae07e2a6
3 changed files with 7 additions and 3 deletions
|
|
@ -42,6 +42,10 @@ BlazeComponent.extendComponent({
|
|||
const user = Meteor.user();
|
||||
return user && user.hasStarred(this.currentData()._id);
|
||||
},
|
||||
isAdministrable() {
|
||||
const user = Meteor.user();
|
||||
return user && user.isBoardAdmin(this.currentData()._id);
|
||||
},
|
||||
|
||||
hasOvertimeCards() {
|
||||
subManager.subscribe('board', this.currentData()._id, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue