[web] close connection permanently when opening out-of-sync modal (#23148)
* [web] close connection permanently when opening out-of-sync modal * [web] disable generic forceDisconnected behavior for out-of-sync modal * [web] hide "disconnected" banner when displaying out of sync modal GitOrigin-RevId: 133b3e24d94279917298ce7fd5d0a76da2265512
This commit is contained in:
@@ -27,7 +27,9 @@ export function Alerts() {
|
||||
|
||||
return createPortal(
|
||||
<>
|
||||
{connectionState.forceDisconnected ? (
|
||||
{connectionState.forceDisconnected &&
|
||||
// hide "disconnected" banner when displaying out of sync modal
|
||||
connectionState.error !== 'out-of-sync' ? (
|
||||
<OLNotification
|
||||
type="error"
|
||||
content={<strong>{t('disconnected')}</strong>}
|
||||
|
||||
Reference in New Issue
Block a user