Skip to content

Commit 83c05a1

Browse files
committed
fix: do not show status bar if no jira is configured
1 parent 73a5448 commit 83c05a1

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/status-bar.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export class StatusBarManager {
2020
}
2121

2222
private async updateStatus(): Promise<void> {
23+
if (!state.jira) {
24+
return;
25+
}
2326
this.item.show();
2427
const activeIssue = getActiveIssue();
2528
if (activeIssue) {

0 commit comments

Comments
 (0)