Fix #99410: SocketIO Reconnect Web Interface #104235
@ -277,24 +277,6 @@ export default {
|
|||||||
this.$refs.jobsTable.onReconnected();
|
this.$refs.jobsTable.onReconnected();
|
||||||
if (this.$refs.tasksTable)
|
if (this.$refs.tasksTable)
|
||||||
this.$refs.tasksTable.onReconnected();
|
this.$refs.tasksTable.onReconnected();
|
||||||
|
|
||||||
/*Grab Flamenco version from backend
|
|
||||||
Compare with previous version
|
|
||||||
If different than before log a notification about the upgrade,
|
|
||||||
and actually refresh the entire page to ensure the new version is loaded properly. */
|
|
||||||
const metaAPI = new MetaApi(apiClient);
|
|
||||||
let currVersion;
|
|
||||||
metaAPI.getVersion()
|
|
||||||
.then((version) => {
|
|
||||||
this.flamencoName = version.name;
|
|
||||||
this.flamencoVersion = version.version;
|
|
||||||
|
|
||||||
currVersion = this.flamencoVersion
|
|
||||||
})
|
|
||||||
.catch((error) => {
|
|
||||||
console.log("Error getting the Flamenco version:", error);
|
|
||||||
})
|
|
||||||
|
|
||||||
},
|
},
|
||||||
onSIODisconnected(reason) {
|
onSIODisconnected(reason) {
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user