fix: don't show type editor for nontypes
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
b3d6866c7c
commit
462aa6e665
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue