fix: prevent editing of system groups
This commit is contained in:
parent
f031b131eb
commit
3c7f81987c
@ -22,7 +22,7 @@ export class GroupComponent extends BasePageComponent implements AfterViewInit {
|
||||
cellEditing: GuiCellEdit = {
|
||||
enabled: true,
|
||||
cellEdit: (value: any, item: Group, index: number) => {
|
||||
if (!this.updateService.isEditable)
|
||||
if (!this.updateService.isEditable || !item.internal)
|
||||
return false;
|
||||
|
||||
this.updateService.setAsync("group_" + item.id!.toString(), async () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user