Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-05-25 13:20:52 +0300
committerPhil Hughes <me@iamphill.com>2017-05-25 13:20:52 +0300
commit625d3442061d102f7020ef322c2c2febafc891aa (patch)
tree49e24dcf7f1fbc2664c8695a422cc3cdf61e8c53 /app/assets/javascripts/issue_show
parentf452cb7733c1659c5c8de7f2b9fa7bc2bf077db7 (diff)
renamed path to web_url in endpoint
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r--app/assets/javascripts/issue_show/components/app.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue
index 90312bade2f..74614984097 100644
--- a/app/assets/javascripts/issue_show/components/app.vue
+++ b/app/assets/javascripts/issue_show/components/app.vue
@@ -124,8 +124,8 @@ export default {
this.service.updateIssuable(this.store.formState)
.then(res => res.json())
.then((data) => {
- if (location.pathname !== data.path) {
- gl.utils.visitUrl(data.path);
+ if (location.pathname !== data.web_url) {
+ gl.utils.visitUrl(data.web_url);
} else if (data.confidential !== this.isConfidential) {
gl.utils.visitUrl(location.pathname);
}