From a9973296ecad66531e4113c279b7b8a4cc0e48c2 Mon Sep 17 00:00:00 2001
From: Stephen Zhou <38493346+hyoban@users.noreply.github.com>
Date: Thu, 3 Apr 2025 09:54:29 +0800
Subject: [PATCH] fix: show save action button when there is not action
close #3372
---
.../src/modules/action/action-setting.tsx | 20 +++++++++----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/apps/desktop/src/renderer/src/modules/action/action-setting.tsx b/apps/desktop/src/renderer/src/modules/action/action-setting.tsx
index dde2650f2..7fdd04f6d 100644
--- a/apps/desktop/src/renderer/src/modules/action/action-setting.tsx
+++ b/apps/desktop/src/renderer/src/modules/action/action-setting.tsx
@@ -65,17 +65,15 @@ function ActionSettingOperations() {
{t("actions.newRule")}
- {actionLength > 0 && (
-
- )}
+
)
}