Skip to content

Commit

Permalink
prevent workspace infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
mattseddon committed Nov 29, 2022
1 parent 561c54e commit b8e07e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions extension/src/plots/data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ export class PlotsData extends BaseData<{
...args
)

if (args.length < 2) {
revs.push('workspace')
}

this.notifyChanged({ data, revs })

const files = this.collectFiles({ data })
Expand Down

0 comments on commit b8e07e5

Please sign in to comment.