From 59da74baa915d886aee0cff6ee43def5b721ca3b Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Mon, 20 Nov 2023 15:42:24 -0300 Subject: [PATCH] fix(shareModal/index.tsx): improve error message by specifying whether it's an error sharing a component or a flow --- src/frontend/src/modals/shareModal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/src/modals/shareModal/index.tsx b/src/frontend/src/modals/shareModal/index.tsx index 0d1e843e6..2f52cf4fd 100644 --- a/src/frontend/src/modals/shareModal/index.tsx +++ b/src/frontend/src/modals/shareModal/index.tsx @@ -90,7 +90,7 @@ export default function ShareModal({ }, (err) => { setErrorData({ - title: "Error sharing flow", + title: "Error sharing " + is_component ? "component" : "flow", list: [err["response"]["data"]["detail"]], }); }