Skip to content

Commit

Permalink
HPCC-30462 ECL Watch v9 add packagemap targets dropdown
Browse files Browse the repository at this point in the history
options should show target names as the label, rather than target types

Signed-off-by: Jeremy Clements <[email protected]>
  • Loading branch information
jeclrsg committed Oct 16, 2023
1 parent 71a73b6 commit 5d334fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/src/src-react/components/PackageMaps.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export const PackageMaps: React.FunctionComponent<PackageMapsProps> = ({
const _processes: TypedDropdownOption[] = [{ key: "*", text: "ANY" }];
Targets?.TargetData.map(target => {
if (_targets.filter(t => t.key === target.Type).length === 0) {
_targets.push({ key: target.Type, text: target.Type, type: target.Type });
_targets.push({ key: target.Type, text: target.Name, type: target.Type });
}
target?.Processes?.Item.map(item => {
if (_processes.filter(p => p.key === item).length === 0) {
Expand Down

0 comments on commit 5d334fc

Please sign in to comment.