Skip to content

Commit

Permalink
Remove the basic terminal from the UI (#1499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Senyoret1 authored Feb 28, 2023
1 parent f0cca86 commit 104ac85
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ export class NodeActionsHelper {
}

terminal() {
// TODO: remove if the basic terminal is going to be removed definitely.
/*
const options: SelectableOption[] = [
{
icon: 'launch',
Expand All @@ -210,6 +212,12 @@ export class NodeActionsHelper {
});
}
});
*/

// Open the complete terminal in a new tab.
const protocol = window.location.protocol;
const hostname = window.location.host.replace('localhost:4200', '127.0.0.1:8000');
window.open(protocol + '//' + hostname + '/pty/' + this.currentNodeKey, '_blank', 'noopener noreferrer');
}

back() {
Expand Down

0 comments on commit 104ac85

Please sign in to comment.