From 2deff997200887c717041aec69220f8ff9c1c9ae Mon Sep 17 00:00:00 2001 From: DIDIRUS4 Date: Wed, 11 Sep 2024 23:02:56 +0300 Subject: [PATCH] Revert "Fix import from file" This reverts commit 0428f701bfcb9eca677591b9b191d8fc6bc84ea7. --- apps/app-frontend/src/components/ui/InstanceCreationModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app-frontend/src/components/ui/InstanceCreationModal.vue b/apps/app-frontend/src/components/ui/InstanceCreationModal.vue index 131393eab..e439c2032 100644 --- a/apps/app-frontend/src/components/ui/InstanceCreationModal.vue +++ b/apps/app-frontend/src/components/ui/InstanceCreationModal.vue @@ -417,7 +417,7 @@ const openFile = async () => { const newProject = await open({ multiple: false }) if (!newProject) return hide() - await install_from_file(newProject).catch(handleError) + await install_from_file(newProject.path).catch(handleError) trackEvent('InstanceCreate', { source: 'CreationModalFileOpen',