Skip to content

Commit af8b80a

Browse files
committed
[ change ] Open the version switching UI when the connection status is clicked
1 parent deda371 commit af8b80a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/js/src/State/State__Command.bs.js

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/State/State__Command.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ let rec dispatchCommand = async (state: State.t, command): unit => {
386386
} else {
387387
await State__View.Panel.interruptPrompt(state)
388388
}
389-
| ConnectionStatusClicked => Js.log("Connection status clicked")
389+
| ConnectionStatusClicked => await dispatchCommand(SwitchAgdaVersion)
390390
| JumpToTarget(link) =>
391391
Editor.focus(state.document)
392392
let path = state.document->VSCode.TextDocument.fileName->Parser.filepath

0 commit comments

Comments
 (0)