diff --git a/client/src/app/core/core-services/http.service.ts b/client/src/app/core/core-services/http.service.ts index f2770163d..e418a813b 100644 --- a/client/src/app/core/core-services/http.service.ts +++ b/client/src/app/core/core-services/http.service.ts @@ -171,7 +171,9 @@ export class HttpService { */ private processDetailResponse(response: DetailResponse): string { let message: string; - if (response.detail instanceof Array) { + if (response instanceof Array) { + message = response.join(' '); + } else if (response.detail instanceof Array) { message = response.detail.join(' '); } else { message = response.detail;