Small fix

This commit is contained in:
barsdeveloper
2024-10-30 22:53:56 +01:00
parent 8d91a52e8c
commit b1dc894f03
4 changed files with 7 additions and 7 deletions

View File

@@ -10,6 +10,7 @@ export default function nodeSubtitle(entity) {
switch (entity.getType()) {
case Configuration.paths.addDelegate:
case Configuration.paths.clearDelegate:
case Configuration.paths.removeDelegate:
return null
}
const targetPin = entity

View File

@@ -116,10 +116,9 @@ export default class NodeTemplate extends ISelectableDraggableTemplate {
${name}
${this.#subtitle ? html`
<div class="ueb-node-subtitle-text ueb-ellipsis-nowrap-text">${this.#subtitle}</div>
`: nothing
}
`: nothing}
</div>
` : nothing}
` : nothing}
</div>
`
}