<ng-container *ngIf="(vm$ | async) as vm">
    <ng-container *ngIf="getImage(vm, image) as img">

        <svg-icon *ngIf="img.type === 'svg'" class="sicon" src="{{img.path}}"></svg-icon>

        <img *ngIf="img.type !=='svg'" src="{{img.path}}">

    </ng-container>
</ng-container>