Merge pull request #4657 from mfilser/move_copy_card_didnt_set_the_last_selected_board_right

Move/Copy Card dialog didn't set the last selected board right
This commit is contained in:
Lauri Ojansivu 2022-08-25 21:12:29 +03:00 committed by GitHub
commit c1d449d3bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -736,10 +736,7 @@ template(name="copyAndMoveCard")
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