= ({
notification,
}: NotificationFooterProps) => {
+ const author = getVisibleAuthor(notification);
+
return (
= ({
)}
-
-
- {notification.reason.title}
-
-
-
+ {author ? (
+
+
+
+
+ ) : (
+
+ )}
diff --git a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap
index 75bded530..d8e3ce5b9 100644
--- a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap
+++ b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap
@@ -840,22 +840,40 @@ exports[`renderer/components/notifications/AccountNotifications.tsx > should ren
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+
+ by gitify-app
+
should rende
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+
should render i
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+
should render i
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+
should render i
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+
should render i
class="prc-Stack-Stack-UQ9k6"
data-align="stretch"
data-direction="horizontal"
- data-gap="none"
+ data-gap="condensed"
data-justify="start"
data-padding="none"
data-wrap="nowrap"
>
-
- Updated
-
-
+ Updated
+
+
+ May 20, 2017
+
+
+