Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ZackAustin committed Sep 6, 2024
1 parent 0c49e38 commit 35681ed
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/webview/sideBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,20 +175,6 @@ export class ConnectionsViewProvider implements vscode.WebviewViewProvider {
this.setDeleteConfirmationPanel(DeletePanel.getPanel());
}
});

// vscode.window.showInputBox().then(input => {
// if (input !== undefined && input !== '') {
// if (input === 'Local') {
// vscode.window.showInformationMessage('Local connection cannot be deleted');
// } else if (ConnectionManager.getManager().getAllConnections()[input] !== undefined) {
// let mode: DeletePanelMode = 'Delete';
// DeletePanel.createOrShow(this._extensionUri, this, mode, input);
// this.setDeleteConfirmationPanel(DeletePanel.getPanel());
// } else {
// vscode.window.showInformationMessage('No connection found with the name ' + input);
// }
// }
// });
}

public ClearConnectionsPanel() {
Expand Down

0 comments on commit 35681ed

Please sign in to comment.