Do not display remove group option when readonly

This commit is contained in:
adrinr 2023-03-21 13:03:53 +00:00
parent 15ed91ef85
commit 1bc568f634
1 changed files with 10 additions and 6 deletions

View File

@ -34,15 +34,19 @@
export let userId
const groupSchema = {
$: groupSchema = {
name: {
width: "1fr",
},
_id: {
displayName: "",
width: "auto",
borderLeft: true,
},
...(readonly
? {}
: {
_id: {
displayName: "",
width: "auto",
borderLeft: true,
},
}),
}
const appSchema = {
name: {