Skip to content

Commit

Permalink
HPCC-29903 ECL Watch dropzone inputs should not show 'ECLWatchVisible…
Browse files Browse the repository at this point in the history
…=false' options

Signed-off-by: Jeremy Clements <[email protected]>
  • Loading branch information
jeclrsg committed Jul 12, 2023
1 parent 88cd80d commit 2dbbd4c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esp/src/src-react/components/forms/Fields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ export const TargetServerTextField: React.FunctionComponent<TargetServerTextFiel
const [targetServers, setTargetServers] = React.useState<IDropdownOption[] | undefined>();

React.useEffect(() => {
TpDropZoneQuery({ Name: "" }).then(response => {
TpDropZoneQuery({ request: { Name: "" } }).then(response => {
const { TpDropZoneQueryResponse } = response;
setTargetServers(TpDropZoneQueryResponse?.TpDropZones?.TpDropZone?.filter(row => row.Name === props.dropzone)[0]?.TpMachines?.TpMachine?.map(n => {
return {
Expand Down
4 changes: 3 additions & 1 deletion esp/src/src/WsTopology.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ export function TpGetServicePlugins(params) {
return ESPRequest.send("WsTopology", "TpGetServicePlugins", params);
}
export function TpDropZoneQuery(params) {
return ESPRequest.send("WsTopology", "TpDropZoneQuery", params);
const _params = { request: {}, ...params };
_params.request = { ...{ ECLWatchVisibleOnly: true }, ...params.request };
return ESPRequest.send("WsTopology", "TpDropZoneQuery", _params);
}
export function TpGetComponentFile(params) {
params.handleAs = "text";
Expand Down

0 comments on commit 2dbbd4c

Please sign in to comment.