only undo and save buttons are disabled until data changed now #605

Merged
joan merged 2 commits from 2881-accounts_accounts_buttons_refactor into dev 2021-04-16 08:38:50 +00:00
1 changed files with 1 additions and 4 deletions

View File

@ -58,24 +58,21 @@
label="Save">
</vn-submit>
<vn-button
disabled="!watcher.dataChanged()"
label="Synchronize all"
ng-click="$ctrl.onSynchronizeAll()">
</vn-button>
<vn-button
disabled="!watcher.dataChanged()"
label="Synchronize user"
ng-click="syncUser.show()">
</vn-button>
<vn-button
disabled="!watcher.dataChanged()"
label="Synchronize roles"
ng-click="$ctrl.onSynchronizeRoles()">
</vn-button>
<vn-button
disabled="!watcher.dataChanged()"
class="cancel"
label="Undo changes"
disabled="!watcher.dataChanged()"
ng-click="watcher.loadOriginalData()">
</vn-button>
</vn-button-bar>