When I enter the page it loads, when I go to a next step and I return it gives this error.
ERROR TypeError: rxjs_1.of is not a function at SVGCacheService.getSVG (svg-cache.service.js:29) at InlineSVGDirective._insertSVG (inline-svg.directive.js:71) at InlineSVGDirective.ngOnChanges (inline-svg.directive.js:42) at checkAndUpdateDirectiveInline (core.js:12348) at checkAndUpdateNodeInline (core.js:13876) at checkAndUpdateNode (core.js:13819) at debugCheckAndUpdateNode (core.js:14712) at debugCheckDirectivesFn (core.js:14653) at Object.eval [as updateDirectives] (FormaPagamentoComponent.html:19) at Object.debugUpdateDirectives [as updateDirectives] (core.js:14638)
I'm calling <span class="icon" aria-label="icon" [cacheSVG]='true' [inlineSVG]="'./assets/svg/debito-conta.svg'" *ngIf="item.id ===3">
When I enter the page it loads, when I go to a next step and I return it gives this error.
ERROR TypeError: rxjs_1.of is not a function at SVGCacheService.getSVG (svg-cache.service.js:29) at InlineSVGDirective._insertSVG (inline-svg.directive.js:71) at InlineSVGDirective.ngOnChanges (inline-svg.directive.js:42) at checkAndUpdateDirectiveInline (core.js:12348) at checkAndUpdateNodeInline (core.js:13876) at checkAndUpdateNode (core.js:13819) at debugCheckAndUpdateNode (core.js:14712) at debugCheckDirectivesFn (core.js:14653) at Object.eval [as updateDirectives] (FormaPagamentoComponent.html:19) at Object.debugUpdateDirectives [as updateDirectives] (core.js:14638)