Merge pull request '#16 - Fixes #16' (#18) from #16_Chat_Icon_Issue into main

This commit is contained in:
Cameron Redmore 2025-04-25 14:06:23 +01:00
commit b84f0907a8

View file

@ -123,7 +123,7 @@
:offset="[18, 18]" :offset="[18, 18]"
> >
<q-fab <q-fab
v-model="fabOpen" v-model="chatStore.isChatVisible"
icon="chat" icon="chat"
color="accent" color="accent"
direction="up" direction="up"
@ -200,8 +200,6 @@ const router = useRouter();
const authStore = useAuthStore(); // Use the auth store const authStore = useAuthStore(); // Use the auth store
const chatStore = useChatStore(); const chatStore = useChatStore();
const fabOpen = ref(false); // Local state for FAB animation, not chat visibility
// Computed properties to get state from the store // Computed properties to get state from the store
const isChatVisible = computed(() => chatStore.isChatVisible); const isChatVisible = computed(() => chatStore.isChatVisible);
const chatMessages = computed(() => chatStore.chatMessages); const chatMessages = computed(() => chatStore.chatMessages);