fix: don't show type editor for nontypes
ci/woodpecker/push/woodpecker Pipeline failed Details

feat/type-attributes
Tomáš Mládek 2023-08-27 11:51:50 +02:00
parent b3d6866c7c
commit 462aa6e665
1 changed files with 2 additions and 2 deletions

View File

@ -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 @@
}
</script>
{#if typeEntries.length || editable}
{#if typeEntries.length || (editable && $entity?.attr["~IN"]?.length)}
<section class="labelborder">
<header><h3>{$i18n.t("Type Attributes")}</h3></header>
<div class="content">