Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion airflow-core/src/airflow/ui/src/pages/DagRuns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export const DagRuns = () => {
},
undefined,
{
enabled: !isNaN(pageSize),
refetchInterval: (query) =>
query.state.data?.dag_runs.some((run) => isStatePending(run.state)) ? refetchInterval : false,
},
Expand Down
1 change: 0 additions & 1 deletion airflow-core/src/airflow/ui/src/pages/Events/Events.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export const Events = () => {
taskId,
},
undefined,
{ enabled: !isNaN(pagination.pageSize) },
);

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ export const HITLTaskInstances = () => {
const { dagId, groupId, runId, taskId } = useParams();
const [searchParams] = useSearchParams();
const { setTableURLState, tableURLState } = useTableURLState();
const { pagination } = tableURLState;
const responseReceived = searchParams.get(SearchParamsKeys.RESPONSE_RECEIVED);

const refetchInterval = useAutoRefresh({});
Expand All @@ -141,7 +140,6 @@ export const HITLTaskInstances = () => {
},
undefined,
{
enabled: !isNaN(pagination.pageSize),
refetchInterval,
},
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ export const TaskInstances = () => {
},
undefined,
{
enabled: !isNaN(pagination.pageSize),
refetchInterval: (query) =>
query.state.data?.task_instances.some((ti) => isStatePending(ti.state)) ? refetchInterval : false,
},
Expand Down
4 changes: 1 addition & 3 deletions airflow-core/src/airflow/ui/src/pages/XCom/XCom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,9 +150,7 @@ export const XCom = () => {
xcomKeyPattern: filteredKey ?? undefined,
};

const { data, error, isFetching, isLoading } = useXcomServiceGetXcomEntries(apiParams, undefined, {
enabled: !isNaN(pagination.pageSize),
});
const { data, error, isFetching, isLoading } = useXcomServiceGetXcomEntries(apiParams, undefined);

return (
<Box>
Expand Down
Loading