summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/sidebar
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-12-11 12:28:11 +0000
committerPhil Hughes <me@iamphill.com>2017-12-11 12:28:11 +0000
commit6bb4442054a3804224f84c63fa7c5657508c4ec6 (patch)
tree87e7806344b74e7954e7284c045a1789873f7280 /app/assets/javascripts/sidebar
parenta5d2732ce91e24fbb7ea8c9b087ba3c7476edc09 (diff)
downloadgitlab-ce-6bb4442054a3804224f84c63fa7c5657508c4ec6.tar.gz
updated importsurl-utility-es-module
Diffstat (limited to 'app/assets/javascripts/sidebar')
-rw-r--r--app/assets/javascripts/sidebar/sidebar_mediator.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/sidebar/sidebar_mediator.js b/app/assets/javascripts/sidebar/sidebar_mediator.js
index 7d7c7cb9464..ed7ab09be06 100644
--- a/app/assets/javascripts/sidebar/sidebar_mediator.js
+++ b/app/assets/javascripts/sidebar/sidebar_mediator.js
@@ -1,4 +1,4 @@
-import * as urlUtils from '../lib/utils/url_utility';
+import { visitUrl } from '../lib/utils/url_utility';
import Flash from '../flash';
import Service from './services/sidebar_service';
import Store from './stores/sidebar_store';
@@ -82,7 +82,7 @@ export default class SidebarMediator {
.then(response => response.json())
.then((data) => {
if (location.pathname !== data.web_url) {
- urlUtils.visitUrl(data.web_url);
+ visitUrl(data.web_url);
}
});
}