diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-11-13 12:11:54 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-11-13 12:11:54 +0300 |
commit | 1ff3f1a4f7021c7337df3cd1c24c167447b64f2b (patch) | |
tree | 430c18703ef3f04922f7b4042e99cae8d6473c79 /app/assets/javascripts/environments | |
parent | c6a48f3f92ce4b9a7e15f6e7e4845612233ae7e5 (diff) |
Export text utils as ES6 modules
Diffstat (limited to 'app/assets/javascripts/environments')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_item.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/environments/components/environment_item.vue b/app/assets/javascripts/environments/components/environment_item.vue index fc0308b81ba..9d25f806c0d 100644 --- a/app/assets/javascripts/environments/components/environment_item.vue +++ b/app/assets/javascripts/environments/components/environment_item.vue @@ -2,7 +2,7 @@ import Timeago from 'timeago.js'; import _ from 'underscore'; import userAvatarLink from '../../vue_shared/components/user_avatar/user_avatar_link.vue'; -import '../../lib/utils/text_utility'; +import { humanize } from '../../lib/utils/text_utility'; import ActionsComponent from './environment_actions.vue'; import ExternalUrlComponent from './environment_external_url.vue'; import StopComponent from './environment_stop.vue'; @@ -139,7 +139,7 @@ export default { if (this.hasManualActions) { return this.model.last_deployment.manual_actions.map((action) => { const parsedAction = { - name: gl.text.humanize(action.name), + name: humanize(action.name), play_path: action.play_path, playable: action.playable, }; |