diff --git a/plugins/card-resources/src/components/CardPresenter.svelte b/plugins/card-resources/src/components/CardPresenter.svelte
index 654d6a9e12..54501d4be8 100644
--- a/plugins/card-resources/src/components/CardPresenter.svelte
+++ b/plugins/card-resources/src/components/CardPresenter.svelte
@@ -14,7 +14,7 @@
-->
@@ -49,3 +57,7 @@
change()
}}
/>
+
+
+
+
diff --git a/plugins/setting-resources/src/components/typeEditors/IdentifierTypeEditor.svelte b/plugins/setting-resources/src/components/typeEditors/IdentifierTypeEditor.svelte
index 42d87b4526..17d5ee4ef5 100644
--- a/plugins/setting-resources/src/components/typeEditors/IdentifierTypeEditor.svelte
+++ b/plugins/setting-resources/src/components/typeEditors/IdentifierTypeEditor.svelte
@@ -44,12 +44,12 @@
$: currentSequence = sequences.find((s) => s._id === seq)
async function change () {
+ if (!editable) return
if (identifiers.has(identifier.toUpperCase())) return
if (identifier.toUpperCase() === (currentSequence?.prefix?.toUpperCase() ?? '')) return
if (currentSequence !== undefined) {
await client.update(currentSequence, { prefix: identifier.toUpperCase() })
} else {
- if (!editable) return
const newSeq = await client.createDoc(core.class.CustomSequence, core.space.Workspace, {
prefix: identifier.toUpperCase(),
sequence: 0,
@@ -71,7 +71,14 @@
-
+
{#if editable && identifiers.has(identifier.toUpperCase())}