Skip to content

Commit

Permalink
test: set selectedEntityNames to []
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Sep 16, 2024
1 parent 06b8bed commit 1489d27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export class Grapher
} = {}

// Initializing arrays with `undefined` ensures that empty arrays get serialised
@observable selectedEntityNames?: EntityName[] = undefined
@observable selectedEntityNames?: EntityName[] = []
@observable excludedEntities?: number[] = undefined
/** IncludedEntities are usually empty which means use all available entities. When
includedEntities is set it means "only use these entities". excludedEntities
Expand Down

0 comments on commit 1489d27

Please sign in to comment.