Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 00f4d51

Browse files
fix: happened on staging, ensure elements are not null to be parsed
1 parent c85ca0a commit 00f4d51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

studio/src/app/pages/core/app-dashboard/app-dashboard.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,10 @@ export class AppDashboard {
508508

509509
private renderDecksCards() {
510510
return this.filteredDecks.map((deck: DeckAndFirstSlide) => {
511+
if (deck === undefined) {
512+
return undefined;
513+
}
514+
511515
return (
512516
<ion-card class="item ion-no-margin" onClick={() => this.navigateDeck(deck)} key={deck.deck.id}>
513517
{this.renderDeck(deck)}

0 commit comments

Comments
 (0)