mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-20 04:47:55 +00:00
fixed x logo in dark mode
This commit is contained in:
parent
7964244dcd
commit
ceb1833d3e
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
4
web/dist/index.html
vendored
@ -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-69b520c3.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-aa4e8aed.css">
|
||||
<script type="module" crossorigin src="/assets/index-bd3912f4.js"></script>
|
||||
<link rel="stylesheet" href="/assets/index-1c8c1547.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
<a href="https://twitter.com/SpaceNerduino" target="_blank">
|
||||
|
||||
<div class="text-2xl hover:fill-primary dark:fill-white hover:text-primary duration-150" title="Follow me on my twitter acount">
|
||||
<div class="text-2xl hover:fill-primary dark:fill-white dark:hover:fill-primary duration-150" title="Follow me on my twitter acount">
|
||||
<svg class="w-10 h-10 rounded-lg object-fill dark:text-white" xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 1668.56 1221.19" style="enable-background:new 0 0 1668.56 1221.19;" xml:space="preserve">
|
||||
<g id="layer1" transform="translate(52.390088,-25.058597)">
|
||||
@ -77,9 +77,9 @@ import { mapState } from 'vuex';
|
||||
export default {
|
||||
name: 'TopBar',
|
||||
computed:{
|
||||
...mapState(['isConnected']),
|
||||
// Add a watcher to log the changes
|
||||
|
||||
isConnected(){
|
||||
return this.$store.state.isConnected;
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -10,13 +10,6 @@ import io from 'socket.io-client';
|
||||
const URL = process.env.NODE_ENV === "production" ? undefined : (import.meta.env.VITE_LOLLMS_API);
|
||||
const socket = new io(URL);
|
||||
|
||||
socket.onopen = () => {
|
||||
console.log('WebSocket connection established.');
|
||||
};
|
||||
|
||||
socket.onclose = (event) => {
|
||||
console.log('WebSocket connection closed:', event.code, event.reason);
|
||||
};
|
||||
|
||||
socket.onerror = (error) => {
|
||||
console.error('WebSocket error:', error);
|
||||
|
@ -1513,9 +1513,6 @@ export default {
|
||||
this.$refs.dragdropDiscussion.show = true
|
||||
|
||||
},
|
||||
// socketConnected(val){
|
||||
// console.log('connected',val)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
@ -1551,6 +1548,16 @@ export default {
|
||||
socket.on('update_message', this.streamMessageContent)
|
||||
socket.on('close_message', this.finalMsgEvent)
|
||||
|
||||
|
||||
socket.onopen = () => {
|
||||
console.log('WebSocket connection established.');
|
||||
this.socketIOConnected();
|
||||
};
|
||||
|
||||
socket.onclose = (event) => {
|
||||
console.log('WebSocket connection closed:', event.code, event.reason);
|
||||
this.socketIODisconnected();
|
||||
};
|
||||
socket.on('connected',this.socketIOConnected)
|
||||
socket.on('disconnected',this.socketIODisconnected)
|
||||
console.log("Added events")
|
||||
|
Loading…
Reference in New Issue
Block a user