Skip to content

Commit

Permalink
Merge pull request #166 from mercedes-benz/VULCAN-999/RevertTableMess
Browse files Browse the repository at this point in the history
fix: reload page message
  • Loading branch information
m-o-n-i-s-h authored Dec 12, 2024
2 parents 10a434d + d227b6d commit 29f754c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,7 @@ const NodePropertyParameterSelectComponent = (props: ParameterSelectProps) => {

// The query used to populate the selector is invalid.
if (extraRecords && extraRecords[0] && extraRecords[0].error) {
return (
<NeoCodeViewerComponent
value={`The parameter value retrieval query is invalid: \n${props.query}\n\nError message:\n${extraRecords[0].error}`}
/>
);
return <NeoCodeViewerComponent value={`Please reload page`} />;
}
let options = extraRecords?.map((r) => r?._fields?.[displayValueRowIndex] || '(no data)');
options = props.autoSort ? options.sort() : options;
Expand Down

0 comments on commit 29f754c

Please sign in to comment.