diff options
-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" /> |