Content-Length: 3079 | pFad | http://github.com/lowcoder-org/lowcoder/pull/1499.patch
thub.com
From 3a7daae56e4fda91f051392c4b673a2eba3e28a9 Mon Sep 17 00:00:00 2001
From: Imiss-U1025
Date: Tue, 4 Feb 2025 05:59:10 -0500
Subject: [PATCH 1/2] Show indicator on event panel headers
---
client/packages/lowcoder-design/src/components/keyValueList.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/packages/lowcoder-design/src/components/keyValueList.tsx b/client/packages/lowcoder-design/src/components/keyValueList.tsx
index dfa6af5b4..a847e0e59 100644
--- a/client/packages/lowcoder-design/src/components/keyValueList.tsx
+++ b/client/packages/lowcoder-design/src/components/keyValueList.tsx
@@ -100,7 +100,7 @@ export const KeyValueList = (props: {
return (
<>
{props.list.map((item, index) => (
-
+
{item}
{!props.isStatic &&
From 9f02fc79cf0e625ed2a4384be1d16379ffd47e0a Mon Sep 17 00:00:00 2001
From: Imiss-U1025
Date: Tue, 4 Feb 2025 11:20:30 -0500
Subject: [PATCH 2/2] fix issue with variable update of event panel when query
change
---
.../comps/controls/actionSelector/executeQueryAction.tsx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx b/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx
index e337ac869..a79b6b52f 100644
--- a/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx
+++ b/client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx
@@ -19,14 +19,14 @@ const ExecuteQueryPropertyView = ({
placement?: "query" | "table"
}) => {
const getQueryOptions = useCallback((editorState?: EditorState) => {
- const options: { label: string; value: string; variable?: Record }[] =
+ const options: { label: string; value: string; variables?: Record }[] =
editorState
?.queryCompInfoList()
.map((info) => {
return {
label: info.name,
value: info.name,
- variable: info.data.variable,
+ variables: info.data.variables,
}
})
.filter(
@@ -79,7 +79,7 @@ const ExecuteQueryPropertyView = ({
onChange={(value) => {
const options = getQueryOptions(editorState);
const selectedQuery = options.find(option => option.value === value);
- const variables = selectedQuery ? Object.keys(selectedQuery.variable || {}) : [];
+ const variables = selectedQuery ? Object.keys(selectedQuery.variables || {}) : [];
comp.dispatchChangeValueAction({
queryName: value,
queryVariables: variables.map((variable) => ({key: variable, value: ''})),
--- a PPN by Garber Painting Akron. With Image Size Reduction included!Fetched URL: http://github.com/lowcoder-org/lowcoder/pull/1499.patch
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy