Revert "Show /ide enable & /ide disable commands based on connection status" (#6486)

This commit is contained in:
Shreya Keshive
2025-08-18 16:42:45 +00:00
committed by GitHub
parent 065eb7897d
commit 0215811c4c
2 changed files with 3 additions and 8 deletions

View File

@@ -237,8 +237,8 @@ export const ideCommand = (config: Config | null): SlashCommand | null => {
},
};
const connectionStatus = ideClient.getConnectionStatus().status;
if (connectionStatus === IDEConnectionStatus.Connected) {
const ideModeEnabled = config.getIdeMode();
if (ideModeEnabled) {
ideSlashCommand.subCommands = [
disableCommand,
statusCommand,