From c611ef87e389a5d13f6b4a00270bc3646418f668 Mon Sep 17 00:00:00 2001 From: Chris T Date: Thu, 21 Oct 2021 11:13:43 -0400 Subject: [PATCH] [BI-1157] add reserved names info and error to importer --- src/breeding-insight/service/ImportService.ts | 2 +- src/views/import/BrAPIImporter.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/breeding-insight/service/ImportService.ts b/src/breeding-insight/service/ImportService.ts index 08bdc8363..873ebaa1e 100644 --- a/src/breeding-insight/service/ImportService.ts +++ b/src/breeding-insight/service/ImportService.ts @@ -50,7 +50,7 @@ export class ImportService { return importMapping; } catch (e) { if (e.response && e.response.status === 409) { - e.errorMessage = this.mappingNameExists; + e.errorMessage = e.response.statusText; } else { e.errorMessage = e.response.statusText; } diff --git a/src/views/import/BrAPIImporter.vue b/src/views/import/BrAPIImporter.vue index 2a0c23699..79033cb82 100644 --- a/src/views/import/BrAPIImporter.vue +++ b/src/views/import/BrAPIImporter.vue @@ -96,7 +96,7 @@