Browse Source

Merge pull request #4980 from mfilser/copy_checklist_dialog_set_last_selected_board

Copy Checklist dialog now set's the last selected board
Lauri Ojansivu 2 năm trước cách đây
mục cha
commit
028fba9996
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      client/components/cards/checklists.jade

+ 1 - 4
client/components/cards/checklists.jade

@@ -153,10 +153,7 @@ template(name="copyAndMoveChecklist")
     label {{_ 'boards'}}:
     select.js-select-boards(autofocus)
       each boards
-        if $eq _id currentBoard._id
-          option(value="{{_id}}" selected) {{_ 'current'}}
-        else
-          option(value="{{_id}}" selected="{{#if isDialogOptionBoardId _id}}selected{{/if}}") {{title}}
+        option(value="{{_id}}" selected="{{#if isDialogOptionBoardId _id}}selected{{/if}}") {{title}}
 
   label {{_ 'swimlanes'}}:
   select.js-select-swimlanes