diff --git a/plugins/importer-insomnia/src/v4.ts b/plugins/importer-insomnia/src/v4.ts
index de2bd65d..53eca8cc 100644
--- a/plugins/importer-insomnia/src/v4.ts
+++ b/plugins/importer-insomnia/src/v4.ts
@@ -184,6 +184,7 @@ function importEnvironment(
workspaceId: string,
isParent?: boolean,
): PartialImportResources['environments'][0] {
+ isParent ??= e.parentId === workspaceId;
return {
id: convertId(e._id),
createdAt: e.created ? new Date(e.created).toISOString().replace('Z', '') : undefined,
@@ -192,7 +193,8 @@ function importEnvironment(
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
sortPriority: e.metaSortKey, // Will be added to Yaak later
- base: isParent ?? e.parentId === workspaceId,
+ parentModel: isParent ? 'workspace' : 'environment',
+ parentId: null,
model: 'environment',
name: e.name,
variables: Object.entries(e.data).map(([name, value]) => ({
diff --git a/src-web/components/core/Confirm.tsx b/src-web/components/core/Confirm.tsx
index 300be267..b1c86662 100644
--- a/src-web/components/core/Confirm.tsx
+++ b/src-web/components/core/Confirm.tsx
@@ -44,7 +44,7 @@ export function Confirm({
onChange={setConfirm}
label={
<>
- Type {requireTyping} to confirm
+ Type {requireTyping} to confirm
>
}
/>