1
0
mirror of https://github.com/moparisthebest/mail synced 2025-01-30 14:40:13 -05:00

[WO-629] Hide outbox in folder list when empty

This commit is contained in:
Tankred Hase 2014-11-04 21:32:44 +01:00
parent 0c33f9070b
commit 7d223dc851

View File

@ -5,7 +5,8 @@
</div>
<ul class="nav__folders">
<li ng-repeat="folder in account.folders" ng-if="folder.wellknown" class="nav__folder" ng-class="{'nav__folder--open': state.nav.currentFolder === folder}">
<li ng-repeat="folder in account.folders" ng-if="folder.wellknown" ng-hide="folder.type === 'Outbox' && folder.count < 1"
class="nav__folder" ng-class="{'nav__folder--open': state.nav.currentFolder === folder}">
<a href="javascript:;" wo-touch="openFolder(folder)">
<svg role="presentation">
<use ng-if="folder.type === 'Inbox'" xlink:href="#icon-inbox" />