Skip to content

Commit

Permalink
refactor: indexed expression can be null or undefined (#5571)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Oct 9, 2023
1 parent 11e903c commit 9f727c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
<ng-template #anotherTab>
<ng-container
[ngTemplateOutlet]="codeSection"
[ngTemplateOutletContext]="{$implicit: files[tabs[activeItemIndex]] || ''}"
[ngTemplateOutletContext]="{$implicit: files?.[tabs[activeItemIndex]] || ''}"
></ng-container>
</ng-template>
</div>
Expand Down

0 comments on commit 9f727c2

Please sign in to comment.