Skip to content
Snippets Groups Projects
Unverified Commit b91ef523 authored by xgui3783's avatar xgui3783 Committed by GitHub
Browse files

bugfix: info icon in chip (#587)

parent cf002ef0
No related branches found
No related tags found
No related merge requests found
......@@ -148,19 +148,22 @@
<!-- info btn tmpl -->
<ng-template #infoIcon let-source="source">
<mat-icon *ngIf="source && source.originDatasets && source.originDatasets.length > 0; else plainBtn"
fontSet="fas"
fontIcon="fa-info-circle"
iav-dataset-show-dataset-dialog
[iav-dataset-show-dataset-dialog-kgschema]="source.kgSchema"
[iav-dataset-show-dataset-dialog-kgid]="source.kgId">
</mat-icon>
<ng-container *ngIf="source && source.originDatasets && source.originDatasets.length > 0; else plainBtn">
<mat-icon *ngFor="let source of source.originDatasets"
fontSet="fas"
fontIcon="fa-info-circle"
iav-dataset-show-dataset-dialog
[iav-dataset-show-dataset-dialog-kgschema]="source.kgSchema"
[iav-dataset-show-dataset-dialog-kgid]="source.kgId">
</mat-icon>
</ng-container>
<ng-template #plainBtn>
<mat-icon
*ngIf="source && source.properties && source.properties.name && source.properties.description"
fontSet="fas"
[attr.plain-btn]="true"
fontIcon="fa-info-circle"
iav-dataset-show-dataset-dialog
[iav-dataset-show-dataset-dialog-name]="source.properties.name"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment