remove unused functions

This commit is contained in:
felix 2025-10-15 18:45:45 +02:00
parent 65084345f9
commit 7dcd67e69e
2 changed files with 0 additions and 23 deletions

View file

@ -556,17 +556,6 @@ const showSettings = async (_: MouseEvent, callback: (() => void) | null = null)
}
}
const connectionStatusColor = computed(() => {
switch (socketStore.connectionStatus) {
case 'connected':
return 'has-text-success'
case 'connecting':
return 'has-text-warning fa-spin'
case 'disconnected':
default:
return 'has-text-danger'
}
})
</script>
<style scoped>

View file

@ -360,18 +360,6 @@ const changeRoute = async (_: MouseEvent, callback: (() => void) | null = null)
}
}
const openMenu = (e: MouseEvent) => {
const elm = (e.target as HTMLElement)?.closest('div.has-dropdown') as HTMLElement | null
document.querySelectorAll<HTMLElement>('div.has-dropdown').forEach(el => {
if (el !== elm) {
el.classList.remove('is-active')
}
})
elm?.classList.toggle('is-active')
}
const useVersionUpdate = () => {
const newVersionIsAvailable = ref(false)
const nuxtApp = useNuxtApp()