1
0
Fork 0
mirror of synced 2024-09-17 09:49:11 +12:00

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

View file

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