diff options
author | Phil Hughes <me@iamphill.com> | 2017-12-11 12:28:11 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-12-11 12:28:11 +0000 |
commit | 6bb4442054a3804224f84c63fa7c5657508c4ec6 (patch) | |
tree | 87e7806344b74e7954e7284c045a1789873f7280 /app/assets/javascripts/issue_show | |
parent | a5d2732ce91e24fbb7ea8c9b087ba3c7476edc09 (diff) | |
download | gitlab-ce-6bb4442054a3804224f84c63fa7c5657508c4ec6.tar.gz |
updated importsurl-utility-es-module
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r-- | app/assets/javascripts/issue_show/components/app.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/issue_show/components/app.vue b/app/assets/javascripts/issue_show/components/app.vue index eac15ed5aac..fd1a50dd533 100644 --- a/app/assets/javascripts/issue_show/components/app.vue +++ b/app/assets/javascripts/issue_show/components/app.vue @@ -1,6 +1,6 @@ <script> import Visibility from 'visibilityjs'; -import * as urlUtils from '../../lib/utils/url_utility'; +import { visitUrl } from '../../lib/utils/url_utility'; import Poll from '../../lib/utils/poll'; import eventHub from '../event_hub'; import Service from '../services/index'; @@ -177,7 +177,7 @@ export default { .then(data => this.checkForSpam(data)) .then((data) => { if (location.pathname !== data.web_url) { - urlUtils.visitUrl(data.web_url); + visitUrl(data.web_url); } return this.service.getData(); @@ -212,7 +212,7 @@ export default { // Stop the poll so we don't get 404's with the issuable not existing this.poll.stop(); - urlUtils.visitUrl(data.web_url); + visitUrl(data.web_url); }) .catch(() => { eventHub.$emit('close.form'); |