diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-05-06 21:55:40 +0100 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-05-06 21:55:40 +0100 |
commit | 8f64091a9550f9073889752bb975d96e074fd734 (patch) | |
tree | 2d7e64cb931e9bbf28c3a0b4893bcc32019db3ca | |
parent | cc27180ecd7236e78b3b495d05e87fefc17220cb (diff) | |
download | gitlab-ce-8f64091a9550f9073889752bb975d96e074fd734.tar.gz |
Adds missing CSS class
-rw-r--r-- | app/assets/javascripts/pipelines/components/graph/action_component.vue | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/pipelines/components/graph/action_component.vue b/app/assets/javascripts/pipelines/components/graph/action_component.vue index 14e485791ea..1f9e3d39779 100644 --- a/app/assets/javascripts/pipelines/components/graph/action_component.vue +++ b/app/assets/javascripts/pipelines/components/graph/action_component.vue @@ -37,6 +37,10 @@ actionIconSvg() { return getActionIcon(this.actionIcon); }, + + cssClass() { + return `js-${gl.text.dasherize(this.actionIcon)}`; + }, }, }; </script> @@ -52,6 +56,7 @@ <i class="ci-action-icon-wrapper" + :class="cssClass" v-html="actionIconSvg" aria-hidden="true" /> |