diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-12 11:37:47 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 17:17:39 +0100 |
commit | cd6285d244c384b44246d2c4afa4dc738c2cc4d9 (patch) | |
tree | 8a7be99921089ddcfe6823ed116a3926062c6112 /app/assets/javascripts/boards/components/new_list_dropdown.js.es6 | |
parent | 86a6d4d8c55a9dd5e1b7a413a29dcc84a3d5540b (diff) | |
download | gitlab-ce-cd6285d244c384b44246d2c4afa4dc738c2cc4d9.tar.gz |
Removes checkmarks from new list dropdown when deleting list
Diffstat (limited to 'app/assets/javascripts/boards/components/new_list_dropdown.js.es6')
-rw-r--r-- | app/assets/javascripts/boards/components/new_list_dropdown.js.es6 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/components/new_list_dropdown.js.es6 b/app/assets/javascripts/boards/components/new_list_dropdown.js.es6 index c2273d8f7d9..e02591e4bf6 100644 --- a/app/assets/javascripts/boards/components/new_list_dropdown.js.es6 +++ b/app/assets/javascripts/boards/components/new_list_dropdown.js.es6 @@ -16,7 +16,7 @@ $(() => { const active = BoardsStore.findList('title', label.title), $li = $('<li />',), $a = $('<a />', { - class: (active ? 'is-active' : ''), + class: (active ? `is-active js-board-list-${active.id}` : ''), text: label.title, href: '#' }), @@ -39,6 +39,7 @@ $(() => { BoardsStore.new({ title: label.title, position: BoardsStore.state.lists.length - 1, + list_type: 'label', label: { id: label.id, title: label.title, |