Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPCC-30317 ECL Watch v9 Files page filter "Not In Superfiles" #17794

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion esp/src/src-react/components/Files.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const FilterFields: Fields = {
"LogicalFiles": { type: "checkbox", label: nlsHPCC.LogicalFiles },
"SuperFiles": { type: "checkbox", label: nlsHPCC.SuperFiles },
"Indexes": { type: "checkbox", label: nlsHPCC.Indexes },
"NotInSuperfiles": { type: "checkbox", label: nlsHPCC.NotInSuperfiles },
"NotInSuperfiles": { type: "checkbox", label: nlsHPCC.NotInSuperfiles, disabled: (params: Fields) => !!params?.SuperFiles?.value || !!params?.LogicalFiles?.value },
"NodeGroup": { type: "target-group", label: nlsHPCC.Cluster, placeholder: nlsHPCC.Cluster },
"FileSizeFrom": { type: "string", label: nlsHPCC.FromSizes, placeholder: "4096" },
"FileSizeTo": { type: "string", label: nlsHPCC.ToSizes, placeholder: "16777216" },
Expand Down
5 changes: 4 additions & 1 deletion esp/src/src-react/components/forms/Fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,7 @@ export function createInputs(fields: Fields, onChange?: (id: string, newValue: a
label: field.label,
field: <TextField
key={fieldID}
id={fieldID}
GordonSmith marked this conversation as resolved.
Show resolved Hide resolved
type={field.type}
name={fieldID}
value={field.value}
Expand All @@ -803,6 +804,7 @@ export function createInputs(fields: Fields, onChange?: (id: string, newValue: a
label: field.label,
field: <TextField
key={fieldID}
id={fieldID}
type={field.type}
name={fieldID}
value={`${field.value}`}
Expand All @@ -821,8 +823,9 @@ export function createInputs(fields: Fields, onChange?: (id: string, newValue: a
label: field.label,
field: <Checkbox
key={fieldID}
id={fieldID}
name={fieldID}
disabled={field.disabled("") ? true : false}
disabled={field.disabled(fields) ? true : false}
checked={field.value === true ? true : false}
onChange={(evt, newValue) => onChange(fieldID, newValue)}
/>
Expand Down
Loading