Merge pull request #1381 from ItzNotABug/change-modal-expiration

Modal Expiration
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2024-10-01 13:09:01 +02:00
commit b1a0f38c2a
1 file changed
+1 -1
+1 -1
View File
@@ -52,7 +52,7 @@
function handleClose() {
const modalAlert = currentModalAlert;
dismissBottomModalAlert(modalAlert.id);
hideNotification(modalAlert.id);
hideNotification(modalAlert.id, { coolOffPeriod: 24 * 365 });
if (modalAlert.closed) modalAlert.closed();
if (currentIndex === filteredModalAlerts.length - 1 && filteredModalAlerts.length > 1) {