We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cfd2579 commit 34741a3Copy full SHA for 34741a3
packages/host/app/resources/search.ts
@@ -81,7 +81,9 @@ export class Search extends Resource<Args> {
81
82
@cached
83
get instances() {
84
- return [...this.currentResults.values()].map((r) => r.card) as CardDef[]; // empty results are filtered out already
+ return [...this.currentResults.values()]
85
+ .filter((r) => r.card)
86
+ .map((r) => r.card) as CardDef[];
87
}
88
89
0 commit comments