From 769428c42e2099f4e64b784d0d46faa29f8d5adc Mon Sep 17 00:00:00 2001 From: Artem Babak Date: Tue, 15 Dec 2020 09:51:18 +0200 Subject: [PATCH] Fix edge import --- ui/src/app/import-export/import-export.service.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/ui/src/app/import-export/import-export.service.js b/ui/src/app/import-export/import-export.service.js index 17457ae8d6..dc0fbf1ea7 100644 --- a/ui/src/app/import-export/import-export.service.js +++ b/ui/src/app/import-export/import-export.service.js @@ -614,6 +614,16 @@ export default function ImportExport($log, $translate, $q, $mdDialog, $document, } ); return deferred.promise; + case types.entityType.edge: + openImportDialogCSV($event, entityType, 'edge.import', 'edge.edge-file').then( + function success() { + deferred.resolve(); + }, + function fail() { + deferred.reject(); + } + ); + return deferred.promise; } }