mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +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}
|
${userFragment}
|
||||||
${commentFragment}
|
${commentFragment}
|
||||||
${postFragment}
|
${postFragment}
|
||||||
|
${groupFragment}
|
||||||
|
|
||||||
mutation ($id: ID!) {
|
mutation ($id: ID!) {
|
||||||
markAsRead(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}
|
${userFragment}
|
||||||
${commentFragment}
|
${commentFragment}
|
||||||
${postFragment}
|
${postFragment}
|
||||||
|
${groupFragment}
|
||||||
|
|
||||||
mutation {
|
mutation {
|
||||||
markAllAsRead {
|
markAllAsRead {
|
||||||
@ -224,6 +229,9 @@ export const markAllAsReadMutation = (_i18n) => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
... on Group {
|
||||||
|
...group
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user