Skip already acknowledged notifications on clear

This commit is contained in:
Johannes Zellner
2019-01-09 17:36:33 +01:00
parent a879bdeb47
commit 182949d8d2
2 changed files with 6 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<div class="content">
<div class="text-left">
<h1>Notifications <button class="btn btn-primary btn-outline pull-right" ng-click="notifications.clearAll()"><i class="fa fa-check"></i> Clear All</button></h1>
<h1>Notifications <button class="btn btn-primary btn-outline pull-right" ng-click="notifications.clearAll()" ng-disabled="clearAllBusy"><i class="fa fa-circle-notch fa-spin" ng-show="clearAllBusy"></i><i class="fa fa-check" ng-hide="clearAllBusy"></i> Clear All</button></h1>
</div>
<div class="col-lg-12 text-center" ng-show="notifications.busy">