mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Revert part 2, related https://github.com/wekan/wekan/pull/3048
This commit is contained in:
parent
ee106d1cb4
commit
09666585e2
1 changed files with 4 additions and 1 deletions
|
|
@ -273,7 +273,10 @@ BlazeComponent.extendComponent({
|
||||||
// Disable sorting if the current user is not a board member
|
// Disable sorting if the current user is not a board member
|
||||||
this.autorun(() => {
|
this.autorun(() => {
|
||||||
const disabled = !userIsMember() || Utils.isMiniScreen();
|
const disabled = !userIsMember() || Utils.isMiniScreen();
|
||||||
if ($checklistsDom.data('uiSortable') || $checklistsDom.data('sortable')) {
|
if (
|
||||||
|
$checklistsDom.data('uiSortable') ||
|
||||||
|
$checklistsDom.data('sortable')
|
||||||
|
) {
|
||||||
$checklistsDom.sortable('option', 'disabled', disabled);
|
$checklistsDom.sortable('option', 'disabled', disabled);
|
||||||
}
|
}
|
||||||
if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) {
|
if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue