Skip to content

Commit

Permalink
Merge pull request #137 from galacticcouncil/fix-unavailable-metadata
Browse files Browse the repository at this point in the history
Fix unavailable metadata
  • Loading branch information
nohaapav authored Jul 26, 2024
2 parents f5ceebe + 6c3d4f2 commit 9214597
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/component/utils/MetadataStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export class MetadataStore {
}

public externalWhitelist(): string[] {
const whitelist = this._metadata.assets.external.whitelist;
const whitelist = this._metadata?.assets.external.whitelist ?? {};
return Object.values(whitelist);
}
}
Expand Down

0 comments on commit 9214597

Please sign in to comment.