diff --git a/client/coral-embed-stream/src/containers/Stream.js b/client/coral-embed-stream/src/containers/Stream.js index c6ab222ee..85df2c7b9 100644 --- a/client/coral-embed-stream/src/containers/Stream.js +++ b/client/coral-embed-stream/src/containers/Stream.js @@ -199,12 +199,12 @@ const fragments = { } } } - myIgnoredUsers { - id, - username, - } me { status + ignoredUsers { + id + username + } } ...${getDefinitionName(Comment.fragments.root)} } diff --git a/client/coral-framework/graphql/queries/myIgnoredUsers.graphql b/client/coral-framework/graphql/queries/myIgnoredUsers.graphql index d81531e37..4bdd7fcdd 100644 --- a/client/coral-framework/graphql/queries/myIgnoredUsers.graphql +++ b/client/coral-framework/graphql/queries/myIgnoredUsers.graphql @@ -1,6 +1,8 @@ query myIgnoredUsers { - myIgnoredUsers { - id, - username, + me { + ignoredUsers { + id, + username, + } } } diff --git a/client/coral-settings/containers/ProfileContainer.js b/client/coral-settings/containers/ProfileContainer.js index d1b81e983..47ad5f4f2 100644 --- a/client/coral-settings/containers/ProfileContainer.js +++ b/client/coral-settings/containers/ProfileContainer.js @@ -57,12 +57,12 @@ class ProfileContainer extends Component { } { - myIgnoredUsersData.myIgnoredUsers && myIgnoredUsersData.myIgnoredUsers.length + myIgnoredUsersData.me.ignoredUsers && myIgnoredUsersData.me.ignoredUsers.length ? (

Ignored users