(js) Fix condition of Copy action on cards

This commit is contained in:
Francis Lachapelle
2018-08-31 15:58:21 -04:00
parent 3b9835095f
commit 3881bc408d
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@@ -8,6 +8,7 @@ Bug fixes
- [web] include mail account name in form validation (#4532)
- [web] calendar properties were not completely reset on cancel
- [web] check ACLs on address book prior to delete cards
- [web] fixed condition of copy action on cards
4.0.2 (2018-08-24)
------------------

View File

@@ -397,7 +397,7 @@
<var:string label:value="Export"/>
</md-button>
</md-menu-item>
<md-menu-item ng-show="app.service.$addressbooks.length > 1">
<md-menu-item ng-show="(app.service.$addressbooks.length + app.service.$subscriptions.length) > 1">
<md-menu>
<md-button label:aria-label="Copy To" ng-click="$mdMenu.open($event)">
<var:string label:value="Copy To"/>