diff --git a/web-console/src/components/refresh-button/refresh-button.tsx b/web-console/src/components/refresh-button/refresh-button.tsx index 04fe1609fd21..3242745f3c79 100644 --- a/web-console/src/components/refresh-button/refresh-button.tsx +++ b/web-console/src/components/refresh-button/refresh-button.tsx @@ -34,14 +34,15 @@ const DELAYS: DelayLabel[] = [ export interface RefreshButtonProps { onRefresh: (auto: boolean) => void; localStorageKey?: LocalStorageKeys; + defaultDelay?: number; } export const RefreshButton = React.memo(function RefreshButton(props: RefreshButtonProps) { - const { onRefresh, localStorageKey } = props; + const { onRefresh, localStorageKey, defaultDelay = 30000 } = props; return ( this.taskQueryManager.rerunLastQuery(auto)} /> {this.renderBulkTasksActions()}