Implemented global match actor form edit.
This commit is contained in:
@@ -520,7 +520,7 @@ const fields = computed(() => [
|
||||
key: 'tattoos',
|
||||
type: 'has',
|
||||
value: {
|
||||
has: actor.value?.hasTattoos || null,
|
||||
has: actor.value?.hasTattoos ?? null,
|
||||
description: actor.value?.tattoos || null,
|
||||
},
|
||||
},
|
||||
@@ -529,7 +529,7 @@ const fields = computed(() => [
|
||||
type: 'has',
|
||||
note: 'Excludes earrings',
|
||||
value: {
|
||||
has: actor.value?.hasPiercings || null,
|
||||
has: actor.value?.hasPiercings ?? null,
|
||||
description: actor.value?.piercings || null,
|
||||
},
|
||||
},
|
||||
@@ -576,7 +576,7 @@ const fields = computed(() => [
|
||||
note: 'Allow this actor to be assigned to scenes automatically, overriding single-name protections.',
|
||||
hasDescription: false,
|
||||
value: {
|
||||
has: actor.value?.isGlobal || null,
|
||||
has: actor.value?.allowGlobalMatch ?? null,
|
||||
},
|
||||
},
|
||||
]
|
||||
@@ -630,6 +630,9 @@ const keyMap = {
|
||||
has: 'hasPiercings',
|
||||
description: 'piercings',
|
||||
},
|
||||
allowGlobalMatch: {
|
||||
has: 'allowGlobalMatch',
|
||||
},
|
||||
};
|
||||
|
||||
const groupMap = {
|
||||
|
||||
Reference in New Issue
Block a user