From cd4f3bef66b8a1ca2c9995770e44d8613277118a Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 29 Sep 2016 12:49:58 +0200 Subject: [PATCH] ISSUE #4579:Wiki, hide activity tab if it's empty --- app/modules/wiki/history/wiki-history.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/wiki/history/wiki-history.jade b/app/modules/wiki/history/wiki-history.jade index 57715241..131df94b 100644 --- a/app/modules/wiki/history/wiki-history.jade +++ b/app/modules/wiki/history/wiki-history.jade @@ -1,11 +1,11 @@ -nav.history-tabs(ng-if="vm.historyEntries") +nav.history-tabs(ng-if="vm.historyEntries.count()>0") a.history-tab.active( href="" title="{{ACTIVITY.TITLE}}" translate="ACTIVITY.TITLE" ) -section.wiki-history(ng-if="vm.historyEntries") +section.wiki-history(ng-if="vm.historyEntries.count()>0") tg-wiki-history-entry.wiki-history-entry( tg-repeat="historyEntry in vm.historyEntries" history-entry="historyEntry"