mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
add group type for mark notifications as read
This commit is contained in:
parent
d8df95d093
commit
033630e8e3
@ -163,6 +163,7 @@ export const markAsReadMutation = (_i18n) => {
|
||||
${userFragment}
|
||||
${commentFragment}
|
||||
${postFragment}
|
||||
${groupFragment}
|
||||
|
||||
mutation ($id: ID!) {
|
||||
markAsRead(id: $id) {
|
||||
@ -188,6 +189,9 @@ export const markAsReadMutation = (_i18n) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
... on Group {
|
||||
...group
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -199,6 +203,7 @@ export const markAllAsReadMutation = (_i18n) => {
|
||||
${userFragment}
|
||||
${commentFragment}
|
||||
${postFragment}
|
||||
${groupFragment}
|
||||
|
||||
mutation {
|
||||
markAllAsRead {
|
||||
@ -224,6 +229,9 @@ export const markAllAsReadMutation = (_i18n) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
... on Group {
|
||||
...group
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user