1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-22 23:09:41 +02:00

- code cleanup by converting functions to error funcs (remove this bindings) (#5595)

- remove redundant checked variable
- detect readyState of websocket when closing to prevent redundant error
This commit is contained in:
zees-dev 2021-09-09 15:23:10 +12:00 committed by GitHub
parent 9f179fe3ec
commit 79ca51c92e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 23 additions and 23 deletions

View file

@ -13,7 +13,7 @@
<kube-config-download-button></kube-config-download-button>
<div ng-if="$ctrl.state.checked" class="{{ $ctrl.state.css }}-kubectl-shell">
<div ng-if="$ctrl.state.shell.connected" class="{{ $ctrl.state.css }}-kubectl-shell">
<div class="shell-container">
<div class="shell-item"><i class="fas fa-terminal" style="margin-right: 5px;"></i>kubectl shell</div>
<div class="shell-item-right">
@ -27,7 +27,7 @@
</div>
</div>
<div>
<div style="padding: 0px;">
<div class="nopadding">
<div>
<div id="terminal-container" class="terminal-container">
<div style="position: fixed; color: #fff;">Loading Terminal...</div>