Merge pull request #4980 from mfilser/copy_checklist_dialog_set_last_selected_board

Copy Checklist dialog now set's the last selected board
pull/4981/head
Lauri Ojansivu 2 years ago committed by GitHub
commit 028fba9996
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      client/components/cards/checklists.jade

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

Loading…
Cancel
Save