Skip to content

Commit 29f754c

Browse files
authored
Merge pull request #166 from mercedes-benz/VULCAN-999/RevertTableMess
fix: reload page message
2 parents 10a434d + d227b6d commit 29f754c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/chart/parameter/component/NodePropertyParameterSelect.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,7 @@ const NodePropertyParameterSelectComponent = (props: ParameterSelectProps) => {
159159

160160
// The query used to populate the selector is invalid.
161161
if (extraRecords && extraRecords[0] && extraRecords[0].error) {
162-
return (
163-
<NeoCodeViewerComponent
164-
value={`The parameter value retrieval query is invalid: \n${props.query}\n\nError message:\n${extraRecords[0].error}`}
165-
/>
166-
);
162+
return <NeoCodeViewerComponent value={`Please reload page`} />;
167163
}
168164
let options = extraRecords?.map((r) => r?._fields?.[displayValueRowIndex] || '(no data)');
169165
options = props.autoSort ? options.sort() : options;

0 commit comments

Comments
 (0)