Skip to content

Commit a5512f0

Browse files
committed
No display authority key if confidence is unset (-1) or no-value (0)
1 parent 45eaa87 commit a5512f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/dso-shared/dso-edit-metadata/dso-edit-metadata-value/dso-edit-metadata-value.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
[model]="getModel() | async"
1818
(change)="onChangeAuthorityField($event)">
1919
</ds-dynamic-onebox>
20-
<div *ngIf="!isVirtual && !mdValue.editing && mdValue.newValue.authority">
20+
<div *ngIf="!isVirtual && !mdValue.editing && mdValue.newValue.authority && mdValue.newValue.confidence !== ConfidenceTypeEnum.CF_UNSET && mdValue.newValue.confidence !== ConfidenceTypeEnum.CF_NOVALUE">
2121
<span class="badge badge-light border" >
2222
<i dsAuthorityConfidenceState
2323
class="far fa-circle fa-fw p-0"

0 commit comments

Comments
 (0)