dashfolders: disable save button after save of acl

This commit is contained in:
Daniel Lee
2018-01-09 14:44:36 +01:00
parent e77878bba8
commit eef37c4071
+7 -3
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() {