Skip to content

Commit

Permalink
Merge pull request #12825 from ramonlsouza/fix-accessible-menu
Browse files Browse the repository at this point in the history
fix: second level of accessible menu only opens if language is set to english
  • Loading branch information
antobinary committed Jul 26, 2021
2 parents 081d6a5 + 5679416 commit 2e3b520
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class BBBMenu extends React.Component {
style={{ paddingLeft: '4px',paddingRight: '4px',paddingTop: '8px', paddingBottom: '8px', marginLeft: '4px', marginRight: '4px' }}
onClick={() => {
onClick();
const close = !label.includes('Set status') && !label.includes('Back');
const close = !key.includes('setstatus') && !key.includes('back');
// prevent menu close for sub menu actions
if (close) this.handleClose();
}}>
Expand Down

0 comments on commit 2e3b520

Please sign in to comment.