From 4b7cb8d998f68c6297976c913c407dc368b828de Mon Sep 17 00:00:00 2001 From: Denys Vuika Date: Wed, 27 Jul 2016 13:19:42 +0100 Subject: [PATCH] Proper displaying nameless tasks in demo app MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - display ‘Nameless task’ for empty task names (similar to how Activiti does it) --- .../app/components/activiti/activiti-demo.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo-shell-ng2/app/components/activiti/activiti-demo.component.html b/demo-shell-ng2/app/components/activiti/activiti-demo.component.html index 6d722b311e..bd44038472 100644 --- a/demo-shell-ng2/app/components/activiti/activiti-demo.component.html +++ b/demo-shell-ng2/app/components/activiti/activiti-demo.component.html @@ -9,7 +9,7 @@ (click)="onTaskClicked(task, $event)"> launch - {{task.name}} + {{task.name || 'Nameless task'}}