From 58c49ab85a9eb8c80a9321c7e8949a82f1472087 Mon Sep 17 00:00:00 2001 From: Julien Machiels Date: Fri, 14 Aug 2020 17:10:13 +0200 Subject: [PATCH] Update src/scripts/clientUtils.js Co-authored-by: Cameron --- src/scripts/clientUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/clientUtils.js b/src/scripts/clientUtils.js index 719d722a2..fa9f23243 100644 --- a/src/scripts/clientUtils.js +++ b/src/scripts/clientUtils.js @@ -143,7 +143,7 @@ export function alert(options) { } import('alert').then(({default: alert}) => { - alert.default({ + alert({ title: options.title || Globalize.translate('HeaderAlert'), text: options.message }).then(options.callback || function () {});