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 = {
|
cellEditing: GuiCellEdit = {
|
||||||
enabled: true,
|
enabled: true,
|
||||||
cellEdit: (value: any, item: Group, index: number) => {
|
cellEdit: (value: any, item: Group, index: number) => {
|
||||||
if (!this.updateService.isEditable)
|
if (!this.updateService.isEditable || !item.internal)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
this.updateService.setAsync("group_" + item.id!.toString(), async () => {
|
this.updateService.setAsync("group_" + item.id!.toString(), async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user