diff --git a/web-console/src/components/refresh-button/refresh-button.tsx b/web-console/src/components/refresh-button/refresh-button.tsx index a21fe0b15020..858896b818f9 100644 --- a/web-console/src/components/refresh-button/refresh-button.tsx +++ b/web-console/src/components/refresh-button/refresh-button.tsx @@ -34,15 +34,16 @@ 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 ( { if (auto && hasPopoverOpen()) return; this.taskQueryManager.rerunLastQuery(auto);