From 1e72177991e3fe11a1837e3e294e4de5d728aa30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Manelli?= Date: Sat, 23 Feb 2019 12:14:37 +0100 Subject: Avoid links on a template-board Allow creation of template boards with a linked card Avoid changing the name of the template-container swimlanes --- client/components/swimlanes/swimlanes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/swimlanes/swimlanes.js') 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'), -- cgit v1.2.3-1-g7c22