diff --git a/packages/frontend/src/graphql/commit.gql b/packages/frontend/src/graphql/commit.gql index c7a10a923..8deecc720 100644 --- a/packages/frontend/src/graphql/commit.gql +++ b/packages/frontend/src/graphql/commit.gql @@ -13,14 +13,14 @@ query Stream($streamid: String!, $id: String!) { createdAt branchName sourceApplication - activity(actionType: "commit_receive", limit: 200) { - items { - info - time - userId - message - } - } + # activity(actionType: "commit_receive", limit: 200) { + # items { + # info + # time + # userId + # message + # } + # } } } } diff --git a/packages/frontend/src/views/stream/Commit.vue b/packages/frontend/src/views/stream/Commit.vue index afe57445c..28df2d976 100644 --- a/packages/frontend/src/views/stream/Commit.vue +++ b/packages/frontend/src/views/stream/Commit.vue @@ -154,7 +154,34 @@ export default { id: this.$route.params.commitId } } - } + }, + // commitActivitiy: { + // query: ` + // query CommitActivity($streamid: String!, $id: String!) { + // stream(id: $streamid) { + // id + // commit(id: $id) { + // id + // activity(actionType: "commit_receive", limit: 200) { + // items { + // info + // time + // userId + // message + // } + // } + // } + // } + // } + // `, + // variables() { + // return { + // streamid: this.$route.params.streamId, + // id: this.$route.params.commitId + // } + // }, + // update:(data) => data.stream.commit.activity + // } }, computed: { loggedInUserId() {