Version Info in Footer; Various formatting fixes; Removed WS debugging; Removed Gitlab from Services
This commit is contained in:
parent
8392c7885d
commit
6ac9e68827
8 changed files with 30 additions and 40 deletions
src/routes/servers
|
@ -22,19 +22,15 @@
|
|||
|
||||
let monitorList = $state($uptimeStore);
|
||||
|
||||
console.log(monitorList);
|
||||
|
||||
let socket = $socketStore;
|
||||
|
||||
$effect(() => {
|
||||
if (token) {
|
||||
if (!socket.connected) {
|
||||
socket.connect();
|
||||
} else {
|
||||
console.log('already connected');
|
||||
}
|
||||
|
||||
socket.on('connect', () => {
|
||||
console.log('logging in');
|
||||
socket.emit('loginByToken', token, () => {});
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue