summaryrefslogtreecommitdiffstats
path: root/client/components/swimlanes/swimlanes.js
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2019-02-23 12:14:37 +0100
committerAndrés Manelli <andresmanelli@gmail.com>2019-02-24 00:05:00 +0100
commit1e72177991e3fe11a1837e3e294e4de5d728aa30 (patch)
treee0d8e2fb100bae88f2f9b83d7c79362fe9d431ad /client/components/swimlanes/swimlanes.js
parentcdf070189e11205eecd11641226ae62964cc03e1 (diff)
downloadwekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.tar.gz
wekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.tar.bz2
wekan-1e72177991e3fe11a1837e3e294e4de5d728aa30.zip
Avoid links on a template-board
Allow creation of template boards with a linked card Avoid changing the name of the template-container swimlanes
Diffstat (limited to 'client/components/swimlanes/swimlanes.js')
-rw-r--r--client/components/swimlanes/swimlanes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/swimlanes/swimlanes.js b/client/components/swimlanes/swimlanes.js
index 4dd84604..63266e5f 100644
--- a/client/components/swimlanes/swimlanes.js
+++ b/client/components/swimlanes/swimlanes.js
@@ -168,8 +168,8 @@ BlazeComponent.extendComponent({
evt.preventDefault();
const titleInput = this.find('.list-name-input');
const title = titleInput.value.trim();
- const listType = (this.currentSwimlane.isListTemplatesSwimlane())?'template-list':'list';
if (title) {
+ const listType = (this.currentSwimlane.isListTemplatesSwimlane())?'template-list':'list';
Lists.insert({
title,
boardId: Session.get('currentBoard'),