From dc294a5a4bc52ecf2c4eb78f0ec5e9920d4a984c Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Wed, 26 May 2021 13:17:32 -0400 Subject: [PATCH] Remove use of alert abstraction --- src/scripts/clientUtils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/scripts/clientUtils.js b/src/scripts/clientUtils.js index c9d1b3b4b..4de4d9113 100644 --- a/src/scripts/clientUtils.js +++ b/src/scripts/clientUtils.js @@ -122,9 +122,9 @@ export function processErrorResponse(response) { status = response.statusText; } - alert({ + baseAlert({ title: status, - message: response.headers ? response.headers.get('X-Application-Error-Code') : null + text: response.headers ? response.headers.get('X-Application-Error-Code') : null }); }