From 04915cc65a43401e5c2065d1e8dbd7e2194446e0 Mon Sep 17 00:00:00 2001 From: Geometrically <18202329+Geometrically@users.noreply.github.com> Date: Tue, 1 Aug 2023 15:34:29 -0700 Subject: [PATCH] fix issues with auth (#1247) --- components/ui/NotificationItem.vue | 2 +- helpers/notifications.js | 5 +++++ pages/auth.vue | 3 +++ pages/auth/sign-up.vue | 8 ++++++-- pages/auth/welcome.vue | 6 +++++- pages/index.vue | 2 +- pages/settings/account.vue | 6 +++--- 7 files changed, 24 insertions(+), 8 deletions(-) diff --git a/components/ui/NotificationItem.vue b/components/ui/NotificationItem.vue index bb28ff09b..b9b2ab37c 100644 --- a/components/ui/NotificationItem.vue +++ b/components/ui/NotificationItem.vue @@ -118,7 +118,7 @@ > {{ notif.extra_data.version.name }} diff --git a/helpers/notifications.js b/helpers/notifications.js index 66f216808..4cb3bb7d9 100644 --- a/helpers/notifications.js +++ b/helpers/notifications.js @@ -126,6 +126,11 @@ export async function fetchNotifications() { export function groupNotifications(notifications, includeRead = false) { const grouped = [] + + for (const notification of notifications) { + notification.grouped_notifs = [] + } + for (const notification of notifications.filter((notif) => includeRead || !notif.read)) { // Group notifications of the same thread or project id if (notification.body) { diff --git a/pages/auth.vue b/pages/auth.vue index beb5d8ffb..b0c394309 100644 --- a/pages/auth.vue +++ b/pages/auth.vue @@ -142,6 +142,9 @@ const route = useRoute() } @media screen and (max-width: 25.5rem) { + width: auto; + margin: 1rem; + .third-party .btn { grid-column: 1 / 3; } diff --git a/pages/auth/sign-up.vue b/pages/auth/sign-up.vue index e9b0a404a..2fe77eb7a 100644 --- a/pages/auth/sign-up.vue +++ b/pages/auth/sign-up.vue @@ -33,7 +33,11 @@ type="password" placeholder="Confirm password" /> -