Don't show "Rescan" button for stopped folders

This commit is contained in:
Jakob Borg 2015-11-14 12:14:09 +01:00
parent 8fb7f40a6a
commit 40c70a9a2a
2 changed files with 4 additions and 4 deletions

View File

@ -319,7 +319,7 @@
<span class="fa fa-arrow-circle-up"></span>&nbsp;<span translate>Override Changes</span>
</button>
<span class="pull-right">
<button type="button" class="btn btn-sm btn-default" ng-click="rescanFolder(folder.id)" ng-show="['idle', 'stopped', 'unshared'].indexOf(folderStatus(folder)) > -1">
<button type="button" class="btn btn-sm btn-default" ng-click="rescanFolder(folder.id)" ng-show="['idle', 'unshared'].indexOf(folderStatus(folder)) > -1">
<span class="fa fa-refresh"></span>&nbsp;<span translate>Rescan</span>
</button>
<button type="button" class="btn btn-sm btn-default" ng-click="editFolder(folder)">

File diff suppressed because one or more lines are too long