Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 7c3a17c

Browse files
committed
Always show jobs for runs
1 parent 8eadedd commit 7c3a17c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/treeViews/workflows/workflowRunNode.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,7 @@ export class WorkflowRunNode extends vscode.TreeItem {
1212
) {
1313
super(
1414
`#${run.id}`,
15-
(run.status === "completed" &&
16-
vscode.TreeItemCollapsibleState.Collapsed) ||
17-
undefined
15+
vscode.TreeItemCollapsibleState.Collapsed
1816
);
1917

2018
this.description = `${run.event} (${(run.head_sha || "").substr(0, 7)})`;
@@ -42,10 +40,6 @@ export class WorkflowRunNode extends vscode.TreeItem {
4240
this.tooltip = `${this.run.status} ${this.run.conclusion || ""}`;
4341
}
4442

45-
hasJobs(): boolean {
46-
return this.run.status === "completed";
47-
}
48-
4943
async getJobs(): Promise<WorkflowJobNode[]> {
5044
const result =
5145
await this.gitHubRepoContext.client.actions.listJobsForWorkflowRun({

0 commit comments

Comments
 (0)