Skip to content

Commit

Permalink
Merge pull request #18917 from jeclrsg/hpcc-32286-event-scheduler-ref…
Browse files Browse the repository at this point in the history
…resh

HPCC-32286 ECL Watch v9 fix Event Scheduler list refresh button
  • Loading branch information
GordonSmith authored Jul 26, 2024
2 parents 62ced46 + c065ac8 commit dcec52f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions esp/src/src-react/components/EventScheduler.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const EventScheduler: React.FunctionComponent<EventSchedulerProps> = ({
const buttons = React.useMemo((): ICommandBarItemProps[] => [
{
key: "refresh", text: nlsHPCC.Refresh, iconProps: { iconName: "Refresh" },
onClick: () => refreshTable.call()
onClick: () => refreshData()
},
{ key: "divider_1", itemType: ContextualMenuItemType.Divider, onRender: () => <ShortVerticalDivider /> },
{
Expand Down Expand Up @@ -163,7 +163,7 @@ export const EventScheduler: React.FunctionComponent<EventSchedulerProps> = ({
pushParams(filter);
}
},
], [currentUser, filter, hasFilter, refreshTable, selection, setShowDescheduleConfirm, store, total]);
], [currentUser.username, filter, hasFilter, refreshData, selection, setShowDescheduleConfirm, store, total]);

return <HolyGrail
header={<CommandBar items={buttons} farItems={copyButtons} />}
Expand Down

0 comments on commit dcec52f

Please sign in to comment.