FIX: btn class was duplicated on admin-menu-buttons (#7555)
This commit is contained in:
parent
0c6ebe66ce
commit
244c03573a
|
@ -3,9 +3,9 @@ import { h } from "virtual-dom";
|
|||
|
||||
createWidget("admin-menu-button", {
|
||||
html(attrs) {
|
||||
let className = "btn";
|
||||
let className;
|
||||
if (attrs.buttonClass) {
|
||||
className += " " + attrs.buttonClass;
|
||||
className = attrs.buttonClass;
|
||||
}
|
||||
|
||||
return h(
|
||||
|
|
Loading…
Reference in New Issue