From 674735bd34d290bdb5a8fa978669886dee2da246 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cosmin=20P=C3=A2rvulescu?= Date: Tue, 17 Oct 2023 18:15:13 +0300 Subject: [PATCH] Added publish crutch for live preview --- .../app/routes/apps/$clientId/designer.tsx | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/apps/console/app/routes/apps/$clientId/designer.tsx b/apps/console/app/routes/apps/$clientId/designer.tsx index 61f5c5ffdf..9ed9aead4a 100644 --- a/apps/console/app/routes/apps/$clientId/designer.tsx +++ b/apps/console/app/routes/apps/$clientId/designer.tsx @@ -324,6 +324,7 @@ const AuthPanel = ({ avatarURL, appIconURL, authorizationURL, + appPublished, setLoading, errors, }: { @@ -332,6 +333,7 @@ const AuthPanel = ({ avatarURL: string appIconURL?: string authorizationURL: string + appPublished: boolean setLoading: React.Dispatch> errors?: { [key: string]: string @@ -698,17 +700,35 @@ const AuthPanel = ({
- + @@ -1821,6 +1841,7 @@ export default () => { avatarURL={avatarUrl} appIconURL={appDetails.app.icon} authorizationURL={authorizationURL} + appPublished={appDetails.published ?? false} setLoading={setLoading} errors={errors} />