From 088552074b0dc9ceb1bff843708637d12931fd05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa?= Date: Tue, 6 Mar 2018 14:16:26 +0100 Subject: [PATCH] Repair US counter in Kanban table --- app/partials/includes/modules/kanban-table.jade | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/partials/includes/modules/kanban-table.jade b/app/partials/includes/modules/kanban-table.jade index 7aa222cd..33bdf42c 100644 --- a/app/partials/includes/modules/kanban-table.jade +++ b/app/partials/includes/modules/kanban-table.jade @@ -13,7 +13,11 @@ div.kanban-table( div.title div.name(tg-bo-bind="s.name") div.counter - span(tg-bo-bind="usByStatus.get(s.id.toString()).size") + span(ng-if="usByStatus.get(s.id.toString()).size") {{ usByStatus.get(s.id.toString()).size }} + span( + ng-if="!usByStatus.get(s.id.toString()).size" + ng-class='{hidden:!s.wip_limit}' + ) 0 span(tg-bo-bind="' / ' + s.wip_limit", ng-if="s.wip_limit") div.options a.option(