ISSUE #4579:Wiki, hide activity tab if it's empty

stable
Alejandro Alonso 2016-09-29 12:49:58 +02:00
parent 01fcbfcf5e
commit cd4f3bef66
1 changed files with 2 additions and 2 deletions

View File

@ -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"