summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFatih Acet <acetfatih@gmail.com>2017-02-16 20:55:38 +0000
committerFatih Acet <acetfatih@gmail.com>2017-02-16 20:55:38 +0000
commita8fa1b264feb5d2a5d098bc7dcd664a17af48b9b (patch)
tree6be7400a0977da2f919d755d2a6b74978c52fe4d /app
parentb632bdddee8a0801c61186e2dbe8188304df40ef (diff)
parent2bd1a229060c959a177171ddbb32d1f2202b4801 (diff)
downloadgitlab-ce-a8fa1b264feb5d2a5d098bc7dcd664a17af48b9b.tar.gz
Merge branch 'add-issues-button-disable' into 'master'
Disables add issue button Closes #27931 See merge request !9100
Diffstat (limited to 'app')
-rw-r--r--app/assets/javascripts/boards/boards_bundle.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/boards_bundle.js.es6 b/app/assets/javascripts/boards/boards_bundle.js.es6
index 8f30900198e..878ad1b6031 100644
--- a/app/assets/javascripts/boards/boards_bundle.js.es6
+++ b/app/assets/javascripts/boards/boards_bundle.js.es6
@@ -95,7 +95,7 @@ $(() => {
},
computed: {
disabled() {
- return Store.shouldAddBlankState();
+ return !this.store.lists.filter(list => list.type !== 'blank' && list.type !== 'done').length;
},
},
template: `