Skip to content

Commit 96a9412

Browse files
committed
chore(status-bar): Add click event for 'ready' state
1 parent d2af29f commit 96a9412

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/gitguardian-interface/gitguardian-status-bar.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ function getStatusBarConfig(status: StatusBarStatus): StatusBarConfig {
4646
command: "gitguardian.openSidebar",
4747
};
4848
case StatusBarStatus.ready:
49-
return { text: "GitGuardian is ready", color: "statusBar.foreground" };
49+
return {
50+
text: "GitGuardian is ready",
51+
color: "statusBar.foreground",
52+
command: "gitguardian.openSidebar",
53+
};
5054
case StatusBarStatus.scanning:
5155
return {
5256
text: "GitGuardian - Scanning...",

0 commit comments

Comments
 (0)