From bda2734a6f8119699ff855887d6b1302b1e27bf4 Mon Sep 17 00:00:00 2001 From: Viraj Bahulkar Date: Thu, 19 Aug 2021 08:18:28 +0530 Subject: [PATCH] Disable launch button unless app is saved (#544) * Disable launch button if app not saved * Revert index.json.builder change * delete app folder * Change tooltip text of launch disabled button --- frontend/src/HomePage/HomePage.jsx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/frontend/src/HomePage/HomePage.jsx b/frontend/src/HomePage/HomePage.jsx index 7fea3374c5..d8f840e434 100644 --- a/frontend/src/HomePage/HomePage.jsx +++ b/frontend/src/HomePage/HomePage.jsx @@ -214,15 +214,16 @@ class HomePage extends React.Component { renderTooltip({props, text: 'Open in app viewer'})} + overlay={(props) => renderTooltip({props, text: app?.current_version_id == null ? 'App does not have a deployed version' : 'Open in app viewer'})} > - launch - + launch