This commit is contained in:
commit
b84f0907a8
1 changed files with 1 additions and 3 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue