diff --git a/webui/src/components/InspectTypeEditor.svelte b/webui/src/components/InspectTypeEditor.svelte index c514425..8138cad 100644 --- a/webui/src/components/InspectTypeEditor.svelte +++ b/webui/src/components/InspectTypeEditor.svelte @@ -35,7 +35,7 @@ $i18n.t('Really remove "{{attributeName}}" from "{{typeName}}"?', { attributeName: (await api.addressToComponents(entry.entity)).c, typeName: $entity.identify().join("/"), - }) + }), ); if (really) { @@ -45,7 +45,7 @@ } -{#if typeEntries.length || editable} +{#if typeEntries.length || (editable && $entity?.attr["~IN"]?.length)}

{$i18n.t("Type Attributes")}