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-12-11 15:28:11 +0300
committerPhil Hughes <me@iamphill.com>2017-12-11 15:28:11 +0300
commit6bb4442054a3804224f84c63fa7c5657508c4ec6 (patch)
tree87e7806344b74e7954e7284c045a1789873f7280 /app/assets/javascripts/sidebar
parenta5d2732ce91e24fbb7ea8c9b087ba3c7476edc09 (diff)
updated imports
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);
}
});
}