Fix #99410: SocketIO Reconnect Web Interface #104235

Merged
Sybren A. Stüvel merged 8 commits from Evelinealy/flamenco:socketio-web-interface into main 2023-07-21 17:16:51 +02:00
2 changed files with 1 additions and 7 deletions
Showing only changes of commit 821e375a8b - Show all commits

View File

@ -31,8 +31,6 @@ import { backendURL } from '@/urls';
import { useSocketStatus } from '@/stores/socket-status'; import { useSocketStatus } from '@/stores/socket-status';
import ApiSpinner from '@/components/ApiSpinner.vue'; import ApiSpinner from '@/components/ApiSpinner.vue';
import UpdateListener from '@/components/UpdateListener.vue';
import ConnectionStatus from '@/components/ConnectionStatus.vue';
const DEFAULT_FLAMENCO_NAME = "Flamenco"; const DEFAULT_FLAMENCO_NAME = "Flamenco";
const DEFAULT_FLAMENCO_VERSION = "unknown"; const DEFAULT_FLAMENCO_VERSION = "unknown";
@ -41,15 +39,12 @@ export default {
name: 'App', name: 'App',
components: { components: {
ApiSpinner, ApiSpinner,
UpdateListener,
ConnectionStatus
}, },
data: () => ({ data: () => ({
flamencoName: DEFAULT_FLAMENCO_NAME, flamencoName: DEFAULT_FLAMENCO_NAME,
flamencoVersion: DEFAULT_FLAMENCO_VERSION, flamencoVersion: DEFAULT_FLAMENCO_VERSION,
backendURL: backendURL, backendURL: backendURL,
}), }),
mounted() { mounted() {
window.app = this; window.app = this;
this.fetchManagerInfo(); this.fetchManagerInfo();

View File

@ -274,7 +274,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();
}, },
onSIODisconnected(reason) { onSIODisconnected(reason) {
}, },