From 703bc103790f9f8553db77aaa62b7f330eef3749 Mon Sep 17 00:00:00 2001
From: FTCHD <144691102+FTCHD@users.noreply.github.com>
Date: Wed, 1 Oct 2025 23:08:32 +0200
Subject: [PATCH] update SERVE checkbox
Signed-off-by: FTCHD <144691102+FTCHD@users.noreply.github.com>
---
src/pages/Settings.tsx | 34 ++++++++++++++++------------------
1 file changed, 16 insertions(+), 18 deletions(-)
diff --git a/src/pages/Settings.tsx b/src/pages/Settings.tsx
index 90a5bd6..86fbb35 100644
--- a/src/pages/Settings.tsx
+++ b/src/pages/Settings.tsx
@@ -573,24 +573,22 @@ function GeneralSection() {
>
Show Move option
- {showServe && (
- {
- if (value) {
- setDisabledActions(
- disabledActions?.filter(
- (action) => action !== 'tray-serve'
- ) || []
- )
- } else {
- setDisabledActions([...(disabledActions || []), 'tray-serve'])
- }
- }}
- >
- Show Serve option
-
- )}
+ {
+ if (value) {
+ setDisabledActions(
+ disabledActions?.filter((action) => action !== 'tray-serve') ||
+ []
+ )
+ } else {
+ setDisabledActions([...(disabledActions || []), 'tray-serve'])
+ }
+ }}
+ isDisabled={!showServe}
+ >
+ Show Serve option
+
{