diff --git a/Frontend/app.vue b/Frontend/app.vue index c177b78..7ef1053 100644 --- a/Frontend/app.vue +++ b/Frontend/app.vue @@ -222,34 +222,6 @@ const loginPassword = ref(""); const loginError = ref(null); const loginBusy = ref(false); -const userMood = computed(() => { - const hour = new Date().getHours(); - if (hour < 12) return "⚡"; - if (hour < 18) return "🚀"; - return "🌙"; -}); - -const userInitial = computed(() => { - const name = authMe.value?.user?.name?.trim(); - if (!name) return "U"; - return name.charAt(0).toUpperCase(); -}); - -const activeChatConversation = computed(() => { - const activeId = authMe.value?.conversation.id; - if (!activeId) return null; - const fromList = chatConversations.value.find((item) => item.id === activeId); - if (fromList) return fromList; - return { - id: activeId, - title: authMe.value?.conversation.title ?? "Current chat", - createdAt: "", - updatedAt: "", - lastMessageAt: null, - lastMessageText: null, - }; -}); - watch( () => authMe.value?.conversation.id, (id) => { @@ -1243,9 +1215,6 @@ async function decideFeedCard(card: FeedCard, decision: "accepted" | "rejected")

Pilot Chat

-

- {{ authMe.team.name }} · {{ authMe.user.name }} · {{ authMe.conversation.title }} -

-
-

{{ activeChatConversation?.title || "Current chat" }}

-

{{ activeChatConversation?.lastMessageText || "No messages yet" }}

-