diff --git a/packages/app/src/components/ui/date-range-picker.tsx b/packages/app/src/components/ui/date-range-picker.tsx index 10515b5..751acef 100644 --- a/packages/app/src/components/ui/date-range-picker.tsx +++ b/packages/app/src/components/ui/date-range-picker.tsx @@ -189,12 +189,6 @@ export function DateRangePicker({ )} - {availableDates && availableDates.length === 1 && ( -

- Warning: Only 1 date available for the selected configuration. - Historical comparison requires multiple dates. -

- )} {availableDates && availableDates.length >= 2 && (
{[ @@ -290,6 +284,19 @@ export function DateRangePicker({
)} + {!isCheckingAvailableDates && + availableDates !== undefined && + availableDates.length === 1 && ( +
+
+

Only 1 date available

+

+ Historical comparison requires at least 2 dates. Please change Model, ISL/OSL, + or GPU selection. +

+
+
+ )} {error &&

{error}

}