mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 15:18:49 +01:00
Public boards loaded incompletly
seen at: #4024 Console: Meteor.user().isBoardAdmin() is undefined
This commit is contained in:
parent
458ec4c9a5
commit
1b06997001
2 changed files with 2 additions and 2 deletions
|
|
@ -216,7 +216,7 @@ BlazeComponent.extendComponent({
|
|||
$swimlanesDom.sortable(
|
||||
'option',
|
||||
'disabled',
|
||||
!Meteor.user().isBoardAdmin(),
|
||||
!Meteor.user() || !Meteor.user().isBoardAdmin(),
|
||||
);
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ function initSortable(boardComponent, $listsDom) {
|
|||
'disabled',
|
||||
// Disable drag-dropping when user is not member/is worker
|
||||
//!userIsMember() || Meteor.user().isWorker(),
|
||||
!Meteor.user().isBoardAdmin(),
|
||||
!Meteor.user() || !Meteor.user().isBoardAdmin(),
|
||||
// Not disable drag-dropping while in multi-selection mode
|
||||
// MultiSelection.isActive() || !userIsMember(),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue