fix: response with corrupted attached file for Quince

This commit is contained in:
Dima Alipov
2024-03-21 19:26:31 +02:00
committed by Emad Rad
parent 8437a17c07
commit 15b5d171fe

View File

@@ -19,7 +19,7 @@ export const ErrorBanner = ({ actions, headingMessage, children }) => {
return (
<Alert variant="danger" icon={Info} actions={actionButtons}>
<Alert.Heading>
<FormattedMessage {...headingMessage} />
{headingMessage ? <FormattedMessage {...headingMessage} /> : null}
</Alert.Heading>
{children}
</Alert>