refactor: 💡 Update link-button rose component tagName

This commit is contained in:
Susmitha Girumala committed 2020-06-18 10:44:56 -04:00
1 parent 0216b689bc
commit 34e76f5565
1 file changed
+1 -7
@@ -13,7 +13,6 @@ import { computed } from '@ember/object';
*/
export default LinkComponent.extend({
layout,
tagName: 'a',
classNames: ['rose-link-button'],
classNameBindings: [
'linkButtonStyle',
@@ -22,11 +21,6 @@ export default LinkComponent.extend({
'iconRight:has-icon-right',
],
linkButtonStyle: computed(function () {
let styleClassName = '';
if (this.style) {
styleClassName = `rose-button-${this.style}`;
}
return styleClassName;
return this.style ? `rose-button-${this.style}` : '';
}),
});