feat: Add support for Slack reaction and message notifications
This commit is contained in:
@@ -2,12 +2,12 @@ import { GoogleMailThreadListItem } from "./GoogleMailThreadListItem";
|
||||
import { NotificationListItemProps } from "../../../notification";
|
||||
|
||||
export function GoogleMailNotificationListItem({ notification, mutate }: NotificationListItemProps) {
|
||||
if (notification.metadata.type !== "GoogleMail") return null;
|
||||
if (notification.source_item.data.type !== "GoogleMailThread") return null;
|
||||
|
||||
return (
|
||||
<GoogleMailThreadListItem
|
||||
notification={notification}
|
||||
googleMailThread={notification.metadata.content}
|
||||
googleMailThread={notification.source_item.data.content}
|
||||
mutate={mutate}
|
||||
/>
|
||||
);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { GoogleMailThreadPreview } from "../preview/GoogleMailThreadPreview";
|
||||
import { NotificationActions } from "../../../action/NotificationActions";
|
||||
//import { getLinearUserAccessory } from "../accessories";
|
||||
import { Notification } from "../../../notification";
|
||||
import { Icon, Color, List } from "@raycast/api";
|
||||
import { MutatePromise } from "@raycast/utils";
|
||||
|
||||
Reference in New Issue
Block a user