From 0fed2c1ce512cfe93852e09feef3394e25a89a18 Mon Sep 17 00:00:00 2001 From: Salam Dalloul Date: Thu, 1 Jun 2023 00:31:20 +0200 Subject: [PATCH] fix options list style --- src/client/components/common/Layout.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/client/components/common/Layout.js b/src/client/components/common/Layout.js index e48c169c..e4b808ed 100644 --- a/src/client/components/common/Layout.js +++ b/src/client/components/common/Layout.js @@ -31,8 +31,8 @@ class Layout extends React.Component { electronState: appStates.FRONTEND_STARTED, condaEnv: '', condaEnvs: undefined, - dependenciesFound: false, - condaEnvSelection: true, + dependenciesFound: true, + condaEnvSelection: false, spinnerEnabled: !isFrontendDev, }; @@ -47,8 +47,7 @@ class Layout extends React.Component { } async componentDidMount() { - // const envs = await window.api.getInterfaces().PsyneulinkHandler.getCondaEnvs(); - const envs = ['js', 'mnc'] + const envs = await window.api.getInterfaces().PsyneulinkHandler.getCondaEnvs(); if (window.api) { window.api.receive("fromMain", (data) => { messageHandler(data, {