ui overwhaul

This commit is contained in:
2026-02-16 18:57:12 +01:00
parent e0c7626255
commit 0119c7a737
5 changed files with 105 additions and 29 deletions

View File

@@ -1,8 +1,10 @@
<script setup lang="ts">
import { onMounted, computed } from 'vue'
import { useRouter } from 'vue-router'
import { useWhiteboardStore } from '@/stores/whiteboards'
import WhiteboardHistoryItem from './WhiteboardHistoryItem.vue'
const router = useRouter()
const store = useWhiteboardStore()
onMounted(() => {
@@ -16,7 +18,7 @@ const sortedWhiteboards = computed(() =>
)
const handleClick = (whiteboard: any) => {
console.log('Clicked:', whiteboard)
router.push({ name: 'whiteboard', params: { id: whiteboard.id } })
}
</script>