Skip to content

Commit

Permalink
Fix #3228: Splitbutton fix visible property (#3229)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Sep 1, 2022
1 parent b573c86 commit 8bad26b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/splitbutton/SplitButtonItem.js
Expand Up @@ -19,7 +19,7 @@ export const SplitButtonItem = React.memo((props) => {
};

const createMenuitem = () => {
if (item.visible === false) {
if (props.menuitem.visible === false) {
return null;
}
const { disabled, icon: _icon, label: _label, template, url, target } = props.menuitem;
Expand Down

0 comments on commit 8bad26b

Please sign in to comment.