From 3554c983398ae992718281666a6ad6e8dae14030 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Sat, 21 May 2022 22:02:42 -0700 Subject: [PATCH] server/port input only shows when gc enabled --- src/ui/components/ServerLaunchSection.tsx | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/ui/components/ServerLaunchSection.tsx b/src/ui/components/ServerLaunchSection.tsx index 9014f58..99569aa 100644 --- a/src/ui/components/ServerLaunchSection.tsx +++ b/src/ui/components/ServerLaunchSection.tsx @@ -145,13 +145,18 @@ export default class ServerLaunchSection extends React.Component -
- - - -
+ { + this.state.grasscutterEnabled && ( +
+ + + +
+ ) + } +
{this.state.buttonLabel}