Browse Source

Merge pull request #12127 from ArtemDzhereleiko/AD/imp/svg-preview-scada-symbol

Show SCADA symbols svg in preview mode
pull/12157/head
Igor Kulikov 2 years ago
committed by GitHub
parent
commit
8c74262db9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html

2
ui-ngx/src/app/modules/home/components/dashboard-page/dashboard-widget-select.component.html

@ -51,7 +51,7 @@
</div>
<div class="preview-container">
<div class="preview-spacer"></div>
<img class="preview" [src]="item.image | image: {emptyUrl: '/assets/widget-preview-empty.svg'} | async" alt="{{ item.title }}">
<img class="preview" [src]="item.image | image: {emptyUrl: '/assets/widget-preview-empty.svg', preview: item.scada} | async" alt="{{ item.title }}">
</div>
</mat-card>
</ng-template>

Loading…
Cancel
Save