fix(frontend): fixes #478 (removes superflous info from commit query)

This commit is contained in:
Dimitrie Stefanescu
2021-11-23 18:30:55 +00:00
parent 9a799ddda1
commit 03036fb332
2 changed files with 36 additions and 9 deletions
+8 -8
View File
@@ -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
# }
# }
}
}
}
+28 -1
View File
@@ -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() {