2023-11-29 06:51:58 +00:00
|
|
|
import ngModule from '../../../module';
|
2023-11-29 06:33:49 +00:00
|
|
|
import Section from 'salix/components/section';
|
|
|
|
|
|
|
|
export default class Controller extends Section {
|
|
|
|
onDelete(row) {
|
|
|
|
return this.$http.delete(`ACLs/${row.id}`)
|
|
|
|
.then(() => this.$.model.refresh())
|
|
|
|
.then(() => this.vnApp.showSuccess(this.$t('ACL removed')));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ngModule.component('vnAclMailIndex', {
|
2023-11-29 06:51:58 +00:00
|
|
|
// template: require('./index.html'),
|
2023-11-29 06:33:49 +00:00
|
|
|
controller: Controller
|
|
|
|
});
|