Update to UIX for alpha version

This commit is contained in:
Jesse Malotaux 2025-04-11 18:57:25 +02:00
parent 2098aface9
commit 3cc0a2017d
20 changed files with 88 additions and 65 deletions

View file

@ -18,7 +18,7 @@
<script setup>
import MainMenu from '@/components/base/MainMenu.vue'
import { onMounted, onUpdated, ref } from 'vue'
import { onMounted, ref } from 'vue'
import { RouterView, useRoute } from 'vue-router'
import { useDeviceStore } from './stores/device'
import { isLocal } from './services/ApiService'
@ -37,14 +37,10 @@ onMounted(async () => {
const hsReq = await device.remoteHandshake()
handshake.value = hsReq
device.$subscribe((mutation, state) => {
device.$subscribe(() => {
if (device.key()) handshake.value = true
})
})
onUpdated(() => {
console.log(device.key())
})
</script>
<style scoped>