diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-13 09:11:54 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-13 09:11:54 +0000 |
commit | 1ff3f1a4f7021c7337df3cd1c24c167447b64f2b (patch) | |
tree | 430c18703ef3f04922f7b4042e99cae8d6473c79 /app/assets/javascripts/pipelines/components/graph | |
parent | c6a48f3f92ce4b9a7e15f6e7e4845612233ae7e5 (diff) | |
download | gitlab-ce-1ff3f1a4f7021c7337df3cd1c24c167447b64f2b.tar.gz |
Export text utils as ES6 modules
Diffstat (limited to 'app/assets/javascripts/pipelines/components/graph')
-rw-r--r-- | app/assets/javascripts/pipelines/components/graph/action_component.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/action_component.vue b/app/assets/javascripts/pipelines/components/graph/action_component.vue index 547140b1a43..19d8e1f49cf 100644 --- a/app/assets/javascripts/pipelines/components/graph/action_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/action_component.vue @@ -1,7 +1,7 @@ <script> import tooltip from '../../../vue_shared/directives/tooltip'; import icon from '../../../vue_shared/components/icon.vue'; - + import { dasherize } from '../../../lib/utils/text_utility'; /** * Renders either a cancel, retry or play icon pointing to the given path. * TODO: Remove UJS from here and use an async request instead. @@ -39,7 +39,7 @@ computed: { cssClass() { - const actionIconDash = gl.text.dasherize(this.actionIcon); + const actionIconDash = dasherize(this.actionIcon); return `${actionIconDash} js-icon-${actionIconDash}`; }, }, |