diff --git a/packages/frontend/src/components/ListItemCommit.vue b/packages/frontend/src/components/ListItemCommit.vue index 76a58b380..2bbeefbaf 100644 --- a/packages/frontend/src/components/ListItemCommit.vue +++ b/packages/frontend/src/components/ListItemCommit.vue @@ -11,8 +11,8 @@ {{ commit.message }} - - + + mdi-source-branch {{ commit.branchName }} @@ -47,7 +47,9 @@ export default { }, branchUrl() { if (!this.commit) return null - return `${window.location.origin}/streams/${this.$route.params.streamId}/branches/${this.commit.branchName}` + return `${window.location.origin}/streams/${ + this.$route.params.streamId + }/branches/${encodeURIComponent(this.commit.branchName)}` } }, methods: { diff --git a/packages/frontend/src/components/ListItemStream.vue b/packages/frontend/src/components/ListItemStream.vue index ff6d5ac19..aee456d9c 100644 --- a/packages/frontend/src/components/ListItemStream.vue +++ b/packages/frontend/src/components/ListItemStream.vue @@ -29,6 +29,7 @@ text class="px-0 ml-3" small + :to="'/streams/' + stream.id + '/branches'" > mdi-source-branch {{ stream.branches.totalCount }} @@ -43,6 +44,7 @@ text class="px-0" small + :to="'/streams/' + stream.id + '/branches/main/commits'" > mdi-source-commit {{ stream.commits.totalCount }} diff --git a/packages/frontend/src/views/Branches.vue b/packages/frontend/src/views/Branches.vue index dac71592f..973aedd11 100644 --- a/packages/frontend/src/views/Branches.vue +++ b/packages/frontend/src/views/Branches.vue @@ -52,7 +52,9 @@