@@ -66,9 +67,12 @@ const WarningDialog = ({ capability }: FooterPropsType): React.ReactElement => {
-
- {intl.formatMessage({ id: titleKey })} {intl.formatMessage({ id: descriptionKey })}
-
+ {titleKey && (
+
+ {intl.formatMessage({ id: titleKey })} {intl.formatMessage({ id: descriptionKey })}
+
+ )}
+ {message &&
{message}
}