Merge pull request #18024 from ramonlsouza/fix-connection-settings
fix: connection status modal "adjusting your settings" button not working as expected
This commit is contained in:
commit
2a98312acd
@ -31,6 +31,7 @@ const BaseModal = (props) => {
|
||||
onRequestClose={onRequestClose}
|
||||
className={className}
|
||||
overlayClassName={overlayClassName}
|
||||
shouldReturnFocusAfterClose={false}
|
||||
>
|
||||
{children}
|
||||
</Styled.BaseModal>
|
||||
|
@ -81,7 +81,7 @@ class ConnectionStatusIcon extends PureComponent {
|
||||
<Styled.Label>
|
||||
{intl.formatMessage(intlMessages.label)}
|
||||
</Styled.Label>
|
||||
{(level === 'critical' || level === 'danger') || true
|
||||
{(level === 'critical' || level === 'danger') || isSettingsMenuModalOpen
|
||||
? (
|
||||
<div>
|
||||
<Styled.Settings
|
||||
@ -94,7 +94,7 @@ class ConnectionStatusIcon extends PureComponent {
|
||||
selectedTab={2}
|
||||
{...{
|
||||
onRequestClose: () => this.setSettingsMenuModalIsOpen(false),
|
||||
priority: "low",
|
||||
priority: "medium",
|
||||
setIsOpen: this.setSettingsMenuModalIsOpen,
|
||||
isOpen: isSettingsMenuModalOpen,
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user