diff --git a/apps/yaak-client/components/ImportDataDialog.tsx b/apps/yaak-client/components/ImportDataDialog.tsx index ebf79669..3ad8db5a 100644 --- a/apps/yaak-client/components/ImportDataDialog.tsx +++ b/apps/yaak-client/components/ImportDataDialog.tsx @@ -6,7 +6,7 @@ import { type ImportSource, type Workspace, } from "@yaakapp-internal/models"; -import { HStack, Icon, type IconProps, InlineCode, VStack } from "@yaakapp-internal/ui"; +import { Banner, HStack, Icon, type IconProps, InlineCode, VStack } from "@yaakapp-internal/ui"; import { platform } from "@yaakapp-internal/platform"; import classNames from "classnames"; import { formatDistanceToNowStrict } from "date-fns"; @@ -348,6 +348,24 @@ function LoadedImportDataDialog({ + {plan.warnings.map((warning) => ( + + +
+
{warning.title}
+
{warning.detail}
+
+
+ ))} +
- {plan.warnings.length > 0 && ( -
-
Import details
-
- {plan.warnings.map((warning) => ( -
- -
-
{warning.title}
-
{warning.detail}
-
-
- ))} -
-
- )} - {footerNote !== "" &&
{footerNote}
}