Skip to content

Commit

Permalink
Merge pull request #76 from googleinterns/fix-configmeta-failure
Browse files Browse the repository at this point in the history
Fix undeterministic test failure
  • Loading branch information
64json committed Aug 2, 2020
2 parents 2a21004 + 08a6fac commit eb5a175
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/data/data.service.ts
Expand Up @@ -45,6 +45,7 @@ export class DataService implements OnDestroy {
.pipe(distinctUntilChanged((prev, curr) => prev.name === curr.name))
.pipe(pluck('name'))
.pipe(map(name => name ?? Object.keys(datasets)[0]))
.pipe(filter(name => name in datasets))
.subscribe(name => {
const meta = {
enabled: {
Expand Down

0 comments on commit eb5a175

Please sign in to comment.