From 1dcf79fc8527c8384a15926211e603d935b18e61 Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Tue, 14 Sep 2021 10:48:56 -0600 Subject: [PATCH] needed q mark --- ui/src/app/pages/notifications/notifications.page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/pages/notifications/notifications.page.ts b/ui/src/app/pages/notifications/notifications.page.ts index dac0f16b6..7eebbd35e 100644 --- a/ui/src/app/pages/notifications/notifications.page.ts +++ b/ui/src/app/pages/notifications/notifications.page.ts @@ -68,7 +68,7 @@ export class NotificationsPage { try { await this.embassyApi.deleteNotification({ id }) this.notifications.splice(index, 1) - this.beforeCursor = this.notifications[this.notifications.length - 1].id + this.beforeCursor = this.notifications[this.notifications.length - 1]?.id } catch (e) { this.errToast.present(e) } finally {