You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by mi...@apache.org on 2023/12/08 05:39:33 UTC
(incubator-devlake) branch fix-6593 created (now 021ab5854)
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a change to branch fix-6593
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
at 021ab5854 fix(config-ui): wrong default value
This branch includes the following new commits:
new 021ab5854 fix(config-ui): wrong default value
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(incubator-devlake) 01/01: fix(config-ui): wrong default value
Posted by mi...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
mintsweet pushed a commit to branch fix-6593
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
commit 021ab5854acc3c1ea715f2bfe49fd9f6234477da
Author: mintsweet <0x...@gmail.com>
AuthorDate: Fri Dec 8 13:39:15 2023 +0800
fix(config-ui): wrong default value
---
config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx b/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
index a191db7ec..2c22754ff 100644
--- a/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
+++ b/config-ui/src/pages/blueprint/detail/components/sync-policy/index.tsx
@@ -62,7 +62,7 @@ export const SyncPolicy = ({
const opt = cronOpts.find((it) => it.value === cronConfig);
setSelectedValue(opt ? opt.label : 'Custom');
}
- }, []);
+ }, [isManual, cronConfig]);
const [timezone, quickTimeOpts] = useMemo(() => {
const timezone = dayjs().format('ZZ').replace('00', '');