Some fixes and new nodes names added

This commit is contained in:
barsdeveloper
2023-05-22 22:15:08 +02:00
parent fa35c4860c
commit 5dfa8aff1b
12 changed files with 56 additions and 20 deletions

View File

@@ -77,7 +77,7 @@ export default class PinTemplate extends ITemplate {
const content = html`
<div class="ueb-pin-content">
${this.isNameRendered ? this.renderName() : nothing}
${this.element.isInput() && !this.element.entity.bDefaultValueIsIgnored ? this.renderInput() : html``}
${this.isInputRendered() ? this.renderInput() : html``}
</div>
`
return html`
@@ -105,6 +105,12 @@ export default class PinTemplate extends ITemplate {
`
}
isInputRendered() {
return this.element.isInput()
&& !this.element.entity.bDefaultValueIsIgnored
&& !this.element.entity.PinType.bIsReference
}
renderInput() {
return html``
}