feature/IO-3499-React-19: Some more missing <Cards> and a missing message -> title
This commit is contained in:
@@ -312,7 +312,11 @@ const SocketProvider = ({ children, bodyshop, navigate, currentUser }) => {
|
||||
scenario_meta: JSON.stringify(notifications.map((notif) => notif.variables || {})),
|
||||
created_at: new Date(notifications[0].timestamp).toISOString(),
|
||||
read: null,
|
||||
job: { ro_number: jobRoNumber }
|
||||
job: {
|
||||
ro_number: jobRoNumber,
|
||||
id: jobId,
|
||||
__typename: "jobs"
|
||||
}
|
||||
};
|
||||
|
||||
const baseVariables = {
|
||||
@@ -377,7 +381,7 @@ const SocketProvider = ({ children, bodyshop, navigate, currentUser }) => {
|
||||
});
|
||||
|
||||
notification.info({
|
||||
message: (
|
||||
title: (
|
||||
<div
|
||||
onClick={() => {
|
||||
markNotificationRead({ variables: { id: notificationId } })
|
||||
|
||||
Reference in New Issue
Block a user