Skip to content

Commit

Permalink
Unbind CMD + K for notifications cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Sep 18, 2023
1 parent 352c89b commit bd00798
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/web-console/src/scenes/Editor/Monaco/editor-addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import { bufferStore } from "../../../store/buffers"
enum Command {
EXECUTE = "execute",
FOCUS_GRID = "focus_grid",
CLEANUP_NOTIFICATIONS = "clean_notifications",
ADD_NEW_TAB = "add_new_tab",
CLOSE_ACTIVE_TAB = "close_active_tab",
}
Expand Down Expand Up @@ -82,15 +81,6 @@ export const registerEditorActions = ({
},
})

editor.addAction({
id: Command.CLEANUP_NOTIFICATIONS,
label: "Clear all notifications",
keybindings: [monaco.KeyMod.CtrlCmd | monaco.KeyCode.KeyK],
run: () => {
dispatch(actions.query.cleanupNotifications())
},
})

editor.addAction({
id: Command.ADD_NEW_TAB,
label: "Add new tab",
Expand Down

0 comments on commit bd00798

Please sign in to comment.