diff --git a/src/frontend/src/components/editFlowSettingsComponent/index.tsx b/src/frontend/src/components/editFlowSettingsComponent/index.tsx index 34cd391806e..d6f51877619 100644 --- a/src/frontend/src/components/editFlowSettingsComponent/index.tsx +++ b/src/frontend/src/components/editFlowSettingsComponent/index.tsx @@ -107,14 +107,14 @@ export const EditFlowSettings: React.FC = ({ }} /> ) : ( - {description === "" ? "No description" : description} - + )} {setEndpointName && ( diff --git a/src/frontend/src/modals/shareModal/index.tsx b/src/frontend/src/modals/shareModal/index.tsx index 13d50f0a9c5..c0ba3d62885 100644 --- a/src/frontend/src/modals/shareModal/index.tsx +++ b/src/frontend/src/modals/shareModal/index.tsx @@ -128,7 +128,7 @@ export default function ShareModal({ successShare, (err) => { setErrorData({ - title: "Error sharing " + is_component ? "component" : "flow", + title: "Error sharing " + (is_component ? "component" : "flow"), list: [err["response"]["data"]["detail"]], }); },