Skip to content

Commit b873a23

Browse files
committed
HPCC-34790 ECL Watch v9 contents in file view not updated when file is rewritten
fixes an issue in ECL Watch v9, when viewing the contents of a logical file, the user cannot see the most up-to-date data as they can when using the v5 UI Signed-off-by: Jeremy Clements <79224539+jeclrsg@users.noreply.github.com>
1 parent 13901ee commit b873a23

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

esp/src/src-react/components/Result.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,8 +329,9 @@ export const Result: React.FunctionComponent<ResultProps> = ({
329329
{
330330
key: "refresh", text: nlsHPCC.Refresh, iconProps: { iconName: "Refresh" },
331331
onClick: () => {
332-
resultTable.reset();
332+
resultTable.bypassCache(true);
333333
resultTable.render(() => setResult(resultTable.calcResult()));
334+
resultTable.bypassCache(false);
334335
}
335336
},
336337
{ key: "divider_1", itemType: ContextualMenuItemType.Divider, onRender: () => <ShortVerticalDivider /> },

0 commit comments

Comments
 (0)