2
0
Эх сурвалжийг харах

Revert part 2, related https://github.com/wekan/wekan/pull/3048

Lauri Ojansivu 5 жил өмнө
parent
commit
09666585e2

+ 4 - 1
client/components/cards/cardDetails.js

@@ -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')) {