Skip to content

Commit 5656305

Browse files
committed
Show ECL refinement notes only when constraints apply
1 parent 43ad28a commit 5656305

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/bindings/ecl-builder/attribute-editor/attribute-editor.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
<app-multi-prefix-select-binding
2727
class="attribute-name-cell"
28-
[binding]="{ title: 'Attribute name', note: 'Restricted by MRCM when available', ecl: domainAttributesEcl, type: 'Select' }"
28+
[binding]="{ title: 'Attribute name', note: domainAttributesEcl ? 'Restricted by MRCM' : '', ecl: domainAttributesEcl, type: 'Select' }"
2929
[term]="attributeNameSelection"
3030
[readonly]="readonly"
3131
[appearance]="'outline'"
@@ -57,7 +57,7 @@
5757
<app-concept-picker
5858
class="value-cell"
5959
[label]="'Value'"
60-
[note]="'Constrained by attribute range when available'"
60+
[note]="getAttributeRangeEcl() ? 'Constrained by attribute range' : ''"
6161
[ecl]="getAttributeRangeEcl()"
6262
[conceptId]="valueConceptId"
6363
[readonly]="readonly"

0 commit comments

Comments
 (0)