|
@@ -139,6 +139,8 @@ export default class Logs extends Component<PropsType, StateType> {
|
|
|
if (prevState.currentTab !== this.state.currentTab) {
|
|
if (prevState.currentTab !== this.state.currentTab) {
|
|
|
let { selectedPod } = this.props;
|
|
let { selectedPod } = this.props;
|
|
|
|
|
|
|
|
|
|
+ this.ws?.close();
|
|
|
|
|
+
|
|
|
this.setState({ logs: [] });
|
|
this.setState({ logs: [] });
|
|
|
|
|
|
|
|
if (this.state.currentTab == "Application") {
|
|
if (this.state.currentTab == "Application") {
|