From 67756606fae026254f35df75e7a78160e0c0cbdc Mon Sep 17 00:00:00 2001 From: Simone Gotti Date: Fri, 29 Mar 2019 09:28:31 +0100 Subject: [PATCH] Use absolute group path --- src/components/runs.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/runs.vue b/src/components/runs.vue index 33ea215..30c7ac4 100644 --- a/src/components/runs.vue +++ b/src/components/runs.vue @@ -151,19 +151,19 @@ export default { let lastrun = false; if (this.project !== null) { if (this.query == "branches") { - group = "project/" + this.project.id + "/branch"; + group = "/project/" + this.project.id + "/branch"; lastrun = true; } else if (this.query == "tags") { - group = "project/" + this.project.id + "/tag"; + group = "/project/" + this.project.id + "/tag"; lastrun = true; } else if (this.query == "pullrequests") { - group = "project/" + this.project.id + "/pr"; + group = "/project/" + this.project.id + "/pr"; lastrun = true; } else { - group = "project/" + this.project.id; + group = "/project/" + this.project.id; } } else if (this.user !== null) { - group = "user/" + this.user.id; + group = "/user/" + this.user.id; } this.runs = await fetchRuns(group, lastrun);