We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8d03fd commit 6870b20Copy full SHA for 6870b20
airflow-core/src/airflow/ui/src/components/DagActions/inlineMessage.tsx
@@ -22,11 +22,11 @@ import type { TFunction } from "i18next";
22
export const getInlineMessage = (isPendingDryRun: boolean, totalEntries: number, translate: TFunction) =>
23
isPendingDryRun ? (
24
<Skeleton height="20px" width="100px" />
25
- ) : totalEntries > 1 ? (
+ ) : totalEntries === 1 ? (
26
<Text color="fg.success" fontSize="sm">
27
{translate("backfill.affectedOne")}
28
</Text>
29
- ) : totalEntries > 0 ? (
+ ) : totalEntries > 1 ? (
30
31
{translate("backfill.affectedMultiple", { count: totalEntries })}
32
0 commit comments