fix: prevent editing of system groups

This commit is contained in:
Developer 02 2024-08-14 09:27:18 +02:00
parent f031b131eb
commit 3c7f81987c

View File

@ -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 () => {