This commit is contained in:
Saifeddine ALOUI 2023-09-14 00:15:48 +02:00
parent cf7c7d05ca
commit 0d1dfaaf1d
4 changed files with 7 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

4
web/dist/index.html vendored
View File

@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LoLLMS WebUI - Welcome</title>
<script type="module" crossorigin src="/assets/index-a48567d6.js"></script>
<link rel="stylesheet" href="/assets/index-a6be8b06.css">
<script type="module" crossorigin src="/assets/index-51328138.js"></script>
<link rel="stylesheet" href="/assets/index-649a8743.css">
</head>
<body>
<div id="app"></div>

View File

@ -860,6 +860,8 @@ export default {
},
socketIODisconnected() {
console.log("socketIOConnected")
this.currentDiscussion=null
this.$store.dispatch('refreshModels');
this.$store.state.isConnected=false;
return true
},
@ -1596,13 +1598,6 @@ export default {
}
};
this.socket.onclose = () => {
console.log('WebSocket connection lost.');
this.currentDiscussion=null
};
this.isCreated = true
},
mounted() {