mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-01-10 14:06:10 +00:00
fix: Ensure Embark process live updates are being retrieved by Cockpit
This commit is contained in:
parent
efa21a1915
commit
6dccbd8902
@ -39,18 +39,10 @@ class HomeContainer extends Component {
|
||||
}
|
||||
|
||||
updateTab(processName = EMBARK_PROCESS_NAME) {
|
||||
if (!this.isEmbark()){
|
||||
this.props.stopProcessLogs(this.state.activeProcess)
|
||||
}
|
||||
this.props.stopProcessLogs(this.state.activeProcess)
|
||||
|
||||
if (processName === EMBARK_PROCESS_NAME) {
|
||||
if (this.props.processLogs.length === 0) {
|
||||
this.props.fetchProcessLogs(processName, LOG_LIMIT);
|
||||
}
|
||||
} else {
|
||||
this.props.fetchProcessLogs(processName, LOG_LIMIT);
|
||||
this.props.listenToProcessLogs(processName);
|
||||
}
|
||||
this.props.fetchProcessLogs(processName, LOG_LIMIT);
|
||||
this.props.listenToProcessLogs(processName);
|
||||
|
||||
this.props.fetchContracts();
|
||||
this.setState({activeProcess: processName});
|
||||
|
Loading…
x
Reference in New Issue
Block a user