Do not display remove group option when readonly
This commit is contained in:
parent
15ed91ef85
commit
1bc568f634
|
@ -34,15 +34,19 @@
|
||||||
|
|
||||||
export let userId
|
export let userId
|
||||||
|
|
||||||
const groupSchema = {
|
$: groupSchema = {
|
||||||
name: {
|
name: {
|
||||||
width: "1fr",
|
width: "1fr",
|
||||||
},
|
},
|
||||||
_id: {
|
...(readonly
|
||||||
displayName: "",
|
? {}
|
||||||
width: "auto",
|
: {
|
||||||
borderLeft: true,
|
_id: {
|
||||||
},
|
displayName: "",
|
||||||
|
width: "auto",
|
||||||
|
borderLeft: true,
|
||||||
|
},
|
||||||
|
}),
|
||||||
}
|
}
|
||||||
const appSchema = {
|
const appSchema = {
|
||||||
name: {
|
name: {
|
||||||
|
|
Loading…
Reference in New Issue