Commit 8f64091a authored by Filipa Lacerda's avatar Filipa Lacerda

Adds missing CSS class

parent cc27180e
...@@ -37,6 +37,10 @@ ...@@ -37,6 +37,10 @@
actionIconSvg() { actionIconSvg() {
return getActionIcon(this.actionIcon); return getActionIcon(this.actionIcon);
}, },
cssClass() {
return `js-${gl.text.dasherize(this.actionIcon)}`;
},
}, },
}; };
</script> </script>
...@@ -52,6 +56,7 @@ ...@@ -52,6 +56,7 @@
<i <i
class="ci-action-icon-wrapper" class="ci-action-icon-wrapper"
:class="cssClass"
v-html="actionIconSvg" v-html="actionIconSvg"
aria-hidden="true" aria-hidden="true"
/> />
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment