-/**
- * @extends {Component}
- */
import {htmlToDom} from "../services/dom";
+import {Component} from "./component";
-class EntityPermissions {
+export class EntityPermissions extends Component {
setup() {
this.container = this.$el;
}
removeRowOnButtonClick(button) {
- const row = button.closest('.content-permissions-row');
+ const row = button.closest('.item-list-row');
const roleId = button.dataset.roleId;
const roleName = button.dataset.roleName;
row.remove();
}
-}
-
-export default EntityPermissions;
\ No newline at end of file
+}
\ No newline at end of file