Domain list: do not see disconnected user domain list.

This commit is contained in:
Philippe Pittoli 2024-03-31 12:06:25 +02:00
parent 7d94cf587d
commit 4d93cbc79f

View File

@ -632,6 +632,8 @@ handleAction = case _ of
H.modify_ _ { notif = NoNotification }
Disconnection -> do
handleAction $ Routing Home
H.put $ initialState unit
handleAction $ ToggleAuthenticated Nothing
@ -640,8 +642,6 @@ handleAction = case _ of
sessionstorage <- H.liftEffect $ Window.sessionStorage =<< HTML.window
H.liftEffect $ Storage.clear sessionstorage
handleAction $ Routing Home
-- | `dnsmanagerd websocket component` wants to do something.
DNSManagerDaemonEvent ev -> case ev of
WS.MessageReceived (Tuple _ message) -> do