diff --git a/src/breeding-insight/service/TraitUploadService.ts b/src/breeding-insight/service/TraitUploadService.ts index 79210b680..b44548f1e 100644 --- a/src/breeding-insight/service/TraitUploadService.ts +++ b/src/breeding-insight/service/TraitUploadService.ts @@ -28,7 +28,7 @@ export class TraitUploadService { static errorContactingServer: string = "Unknown error when contacting server. Please try again."; static errorUnknown: string = "Unable to determine reason for failure upload. Please check file and try again."; - static forbiddenUploadingFile: string = "You do not have permission to upload traits"; + static forbiddenUploadingFile: string = "You do not have permission to upload ontology terms"; static async deleteTraits(programId: string): Promise { try { @@ -114,7 +114,7 @@ export class TraitUploadService { await TraitUploadDAO.confirmUpload(programId, traitUploadId); return; } catch (error) { - throw 'Error saving traits'; + throw 'Error saving ontology terms'; } } diff --git a/src/components/trait/TraitsImportTable.vue b/src/components/trait/TraitsImportTable.vue index 30e9ceed2..587ba3de4 100644 --- a/src/components/trait/TraitsImportTable.vue +++ b/src/components/trait/TraitsImportTable.vue @@ -37,17 +37,22 @@ -->