fix: multiple alerts in the same millisecond overwrite each other

This commit is contained in:
Julian Lam
2020-08-20 14:32:20 -04:00
parent 6521e4dac4
commit 589216e720

View File

@@ -147,6 +147,7 @@ app.cacheBuster = null;
app.alertSuccess = function (message, timeout) {
app.alert({
alert_id: utils.generateUUID(),
title: '[[global:alert.success]]',
message: message,
type: 'success',
@@ -163,6 +164,7 @@ app.cacheBuster = null;
}
app.alert({
alert_id: utils.generateUUID(),
title: '[[global:alert.error]]',
message: message,
type: 'danger',