salix/modules/account/front/alias/acl/index/index.js

16 lines
452 B
JavaScript
Raw Normal View History

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
});