Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-unleash committed Aug 9, 2022
1 parent 529e0a6 commit 15712b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,18 +88,8 @@ export const PlaygroundResultStrategyExecutionParameters = ({
key={key}
value={hosts}
text={'host'}
input={
Boolean(input?.context?.[getMappedParam(key)])
? input?.context?.[getMappedParam(key)]
: 'no value'
}
showReason={
Boolean(input?.context?.[getMappedParam(key)])
? !hosts.includes(
input?.context?.[getMappedParam(key)]
)
: undefined
}
input={'no value'}
showReason={undefined}
/>
);
case 'IPs':
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export const getMappedParam = (key: string) => {
return 'userId';
case 'IPS':
return 'remoteAddress';
case 'HOSTNAMES':
default:
return key;
}
Expand Down

0 comments on commit 15712b7

Please sign in to comment.