Skip to content

Commit 768582b

Browse files
committed
fix(explore-tab): check bubbleIframeUrlWithJWTToken before usage
1 parent 3e92899 commit 768582b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/app/features/home/explore-tab/explore-tab/explore-tab.component.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,14 @@
66
</div>
77

88
<ng-template #bubbleIframe>
9-
<iframe
10-
[src]="bubbleIframeUrlWithJWTToken$ | ngrxPush | safeResourceUrl"
11-
class="bubble-iframe"
12-
></iframe>
9+
<div
10+
*ngIf="
11+
bubbleIframeUrlWithJWTToken$ | ngrxPush as bubbleIframeUrlWithJWTToken
12+
"
13+
>
14+
<iframe
15+
[src]="bubbleIframeUrlWithJWTToken | safeResourceUrl"
16+
class="bubble-iframe"
17+
></iframe>
18+
</div>
1319
</ng-template>

0 commit comments

Comments
 (0)