Skip to content

Commit

Permalink
Hide stop button when switch jobs
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Feb 29, 2024
1 parent 7793eb4 commit 60626bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/views/jobManager/jobManagerView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { displayJobLog } from "./jobLog";
import { selfCodesMap } from "./selfCodes/selfCodes";
import { SelfCodesQuickPickItem } from "./selfCodes/selfCodesBrowser";
import { updateStatusBar } from "./statusBar";
import { setCancelButtonVisibility } from "../results";

const selectJobCommand = `vscode-db2i.jobManager.selectJob`;
const activeColor = new vscode.ThemeColor(`minimapGutter.addedBackground`);
Expand Down Expand Up @@ -281,6 +282,7 @@ export class JobManagerView implements TreeDataProvider<any> {
if (selectedName) {
await JobManager.setSelection(selectedName);
this.refresh();
setCancelButtonVisibility(false);
}
}),

Expand Down

0 comments on commit 60626bc

Please sign in to comment.