|
@@ -273,7 +273,10 @@ BlazeComponent.extendComponent({
|
|
|
// Disable sorting if the current user is not a board member
|
|
|
this.autorun(() => {
|
|
|
const disabled = !userIsMember() || Utils.isMiniScreen();
|
|
|
- if ($checklistsDom.data('uiSortable') || $checklistsDom.data('sortable')) {
|
|
|
+ if (
|
|
|
+ $checklistsDom.data('uiSortable') ||
|
|
|
+ $checklistsDom.data('sortable')
|
|
|
+ ) {
|
|
|
$checklistsDom.sortable('option', 'disabled', disabled);
|
|
|
}
|
|
|
if ($subtasksDom.data('uiSortable') || $subtasksDom.data('sortable')) {
|