Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 80934b5

Browse files
Merge pull request #1499 from lowcoder-org/fix/show_indicator_on_event_panel
Fix showing indicator on event panel headers
2 parents 22896e8 + 9f02fc7 commit 80934b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎client/packages/lowcoder-design/src/components/keyValueList.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export const KeyValueList = (props: {
100100
return (
101101
<>
102102
{props.list.map((item, index) => (
103-
<IndicatorWrapper key={index}>
103+
<IndicatorWrapper key={index}indicatorForAll={props.indicatorForAll}>
104104
<KeyValueListItem key={index /* FIXME: find a proper key instead of `index` */}>
105105
{item}
106106
{!props.isStatic &&

‎client/packages/lowcoder/src/comps/controls/actionSelector/executeQueryAction.tsx‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ const ExecuteQueryPropertyView = ({
1919
placement?: "query" | "table"
2020
}) => {
2121
const getQueryOptions = useCallback((editorState?: EditorState) => {
22-
const options: { label: string; value: string; variable?: Record<string, string> }[] =
22+
const options: { label: string; value: string; variables?: Record<string, string> }[] =
2323
editorState
2424
?.queryCompInfoList()
2525
.map((info) => {
2626
return {
2727
label: info.name,
2828
value: info.name,
29-
variable: info.data.variable,
29+
variables: info.data.variables,
3030
}
3131
})
3232
.filter(
@@ -79,7 +79,7 @@ const ExecuteQueryPropertyView = ({
7979
onChange={(value) => {
8080
const options = getQueryOptions(editorState);
8181
const selectedQuery = options.find(option => option.value === value);
82-
const variables = selectedQuery ? Object.keys(selectedQuery.variable || {}) : [];
82+
const variables = selectedQuery ? Object.keys(selectedQuery.variables || {}) : [];
8383
comp.dispatchChangeValueAction({
8484
queryName: value,
8585
queryVariables: variables.map((variable) => ({key: variable, value: ''})),

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /