From 4db12f85b6b838e78ce8e84bbaa99aa59dd52549 Mon Sep 17 00:00:00 2001 From: Nikhil Saraf <1028334+nikhilsaraf@users.noreply.github.com> Date: Sat, 17 Apr 2021 22:14:58 +0530 Subject: [PATCH] Kelp GUI: Welcome modal should not show quit button in kaas mode --- gui/web/src/App.js | 2 +- gui/web/src/components/molecules/Welcome/Welcome.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gui/web/src/App.js b/gui/web/src/App.js index 2d7201296..1fc5b3be1 100644 --- a/gui/web/src/App.js +++ b/gui/web/src/App.js @@ -369,7 +369,7 @@ class App extends Component { render={(props) => } /> - + ); } diff --git a/gui/web/src/components/molecules/Welcome/Welcome.js b/gui/web/src/components/molecules/Welcome/Welcome.js index 9587a33dd..6ccc4bc3b 100644 --- a/gui/web/src/components/molecules/Welcome/Welcome.js +++ b/gui/web/src/components/molecules/Welcome/Welcome.js @@ -78,6 +78,10 @@ class Welcome extends Component { ); + let quitButton = (); + if (!this.props.showQuitButton) { + quitButton = ""; + } const page2 = (
{kelpLogo} @@ -110,7 +114,7 @@ class Welcome extends Component {
- + {quitButton}