diff options
author | Miranda Fluharty <mfluharty@gitlab.com> | 2019-03-07 12:38:39 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2019-03-07 12:38:39 +0300 |
commit | fcd2358530ae67a50b506d864891febfff93810a (patch) | |
tree | c989d9828e1ca3dd77b861eed0bc8834f1761636 /app/assets | |
parent | 57b5413893490ad6f3ef93a635f052ee3c50dcc6 (diff) |
Use gitlab-ci job name in environment dropdown
Use plain job name in the "Deploy to..." dropdown
Both in the old haml template and in the new vue component
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/environments/components/environment_item.vue | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/assets/javascripts/environments/components/environment_item.vue b/app/assets/javascripts/environments/components/environment_item.vue index eb817beab9d..1e89dce69cb 100644 --- a/app/assets/javascripts/environments/components/environment_item.vue +++ b/app/assets/javascripts/environments/components/environment_item.vue @@ -3,7 +3,6 @@ import Timeago from 'timeago.js'; import _ from 'underscore'; import { GlTooltipDirective } from '@gitlab/ui'; import UserAvatarLink from '~/vue_shared/components/user_avatar/user_avatar_link.vue'; -import { humanize } from '~/lib/utils/text_utility'; import Icon from '~/vue_shared/components/icon.vue'; import ActionsComponent from './environment_actions.vue'; import ExternalUrlComponent from './environment_external_url.vue'; @@ -156,7 +155,7 @@ export default { const combinedActions = (manualActions || []).concat(scheduledActions || []); return combinedActions.map(action => ({ ...action, - name: humanize(action.name), + name: action.name, })); }, |