This commit is contained in:
pa
2026-02-21 19:52:07 +09:00
parent e2f6fbfc85
commit 94c33f90ae
5 changed files with 113 additions and 30 deletions

View File

@@ -30,6 +30,7 @@
<TabsContent value="friend" class="mt-0 min-h-0 flex-1 overflow-hidden">
<NotificationList
:notifications="unseenFriendNotifications"
:recent-notifications="recentFriendNotifications"
@show-invite-response="showSendInviteResponseDialog"
@show-invite-request-response="showSendInviteRequestResponseDialog"
@navigate-to-table="navigateToTable" />
@@ -37,6 +38,7 @@
<TabsContent value="group" class="mt-0 min-h-0 flex-1 overflow-hidden">
<NotificationList
:notifications="unseenGroupNotifications"
:recent-notifications="recentGroupNotifications"
@show-invite-response="showSendInviteResponseDialog"
@show-invite-request-response="showSendInviteRequestResponseDialog"
@navigate-to-table="navigateToTable" />
@@ -44,6 +46,7 @@
<TabsContent value="other" class="mt-0 min-h-0 flex-1 overflow-hidden">
<NotificationList
:notifications="unseenOtherNotifications"
:recent-notifications="recentOtherNotifications"
@show-invite-response="showSendInviteResponseDialog"
@show-invite-request-response="showSendInviteRequestResponseDialog"
@navigate-to-table="navigateToTable" />
@@ -78,8 +81,15 @@
const { refreshInviteMessageTableData } = useInviteStore();
const { clearInviteImageUpload } = useGalleryStore();
const { isNotificationCenterOpen, unseenFriendNotifications, unseenGroupNotifications, unseenOtherNotifications } =
storeToRefs(useNotificationStore());
const {
isNotificationCenterOpen,
unseenFriendNotifications,
unseenGroupNotifications,
unseenOtherNotifications,
recentFriendNotifications,
recentGroupNotifications,
recentOtherNotifications
} = storeToRefs(useNotificationStore());
const activeTab = ref('friend');