fix(ui): isLocal erroneously hardcoded

This commit is contained in:
psychedelicious 2024-05-24 22:42:08 +10:00
parent f5a775ae4e
commit e9b80cf28f

View File

@ -79,15 +79,15 @@ export const addSocketQueueItemStatusChangedEventListener = (startAppListening:
title: getTitleFromErrorType(error_type), title: getTitleFromErrorType(error_type),
status: 'error', status: 'error',
duration: null, duration: null,
updateDescription: isLocal,
description: ( description: (
<ErrorToastDescription <ErrorToastDescription
errorType={error_type} errorType={error_type}
errorMessage={error_message} errorMessage={error_message}
sessionId={sessionId} sessionId={sessionId}
isLocal={false} isLocal={isLocal}
/> />
), ),
updateDescription: isLocal ? true : false,
}); });
} }
}, },