Update src/scripts/clientUtils.js

Co-authored-by: Cameron <Influence365@gmail.com>
This commit is contained in:
Julien Machiels 2020-08-14 17:10:13 +02:00 committed by GitHub
parent 195430ceff
commit 58c49ab85a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 () {});