Skip to content

Commit

Permalink
Fix Converting circular structure to JSON Error in tree-view
Browse files Browse the repository at this point in the history
Signed-off-by: Igor Vinokur <ivinokur@redhat.com>
  • Loading branch information
vinokurig committed Jul 10, 2019
1 parent b0a2d87 commit 7bbe463
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
- [task] added support for VS Code task contribution points: `taskDefinitions`, `problemMatchers`, and `problemPatterns`

- [plugin] added support of debug activation events [#5645](https://github.com/theia-ide/theia/pull/5645)
- [plugin] Fixed `Converting circular structure to JSON` Error [#5661](https://github.com/theia-ide/theia/pull/5661)

Breaking changes:

Expand Down
3 changes: 3 additions & 0 deletions packages/plugin-ext/src/plugin/tree/tree-views.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,9 @@ class TreeViewExtImpl<T> extends Disposable {
}
}

if (treeItem.command) {
treeItem.command.arguments = [id];
}
const treeViewItem = {
id,
label: label,
Expand Down

0 comments on commit 7bbe463

Please sign in to comment.