dashfolders: disable save button after save of acl

This commit is contained in:
Daniel Lee 2017-12-20 15:00:13 +01:00
parent e77878bba8
commit eef37c4071

View File

@ -89,9 +89,13 @@ export class AclCtrl {
});
}
return this.backendSrv.post(`/api/dashboards/id/${this.dashboard.id}/acl`, {
items: updated,
});
return this.backendSrv
.post(`/api/dashboards/id/${this.dashboard.id}/acl`, {
items: updated,
})
.then(() => {
this.canUpdate = false;
});
}
typeChanged() {