Skip to content

Commit a909e59

Browse files
spboyerCopilot
andauthored
Update src/treeViews/treeViews.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent c358f6e commit a909e59

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/treeViews/treeViews.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ export async function initTreeViews(context: vscode.ExtensionContext, store: Run
1717
context.subscriptions.push(workflowTreeView);
1818

1919
store.setViewVisible(workflowTreeView.visible);
20-
workflowTreeView.onDidChangeVisibility(e => {
21-
store.setViewVisible(e.visible);
22-
});
20+
context.subscriptions.push(
21+
workflowTreeView.onDidChangeVisibility(e => {
22+
store.setViewVisible(e.visible);
23+
})
24+
);
2325

2426
const settingsTreeProvider = new SettingsTreeProvider();
2527
context.subscriptions.push(vscode.window.registerTreeDataProvider("github-actions.settings", settingsTreeProvider));

0 commit comments

Comments
 (0)