From d2b39351b8d1d8c4f50a6cfd70a7de9cd6d9f4dd Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 29 Jun 2023 11:35:07 +0200 Subject: [PATCH] Clear the correct mail status notification --- src/cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cloudron.js b/src/cloudron.js index 899714a6d..278bfbbde 100644 --- a/src/cloudron.js +++ b/src/cloudron.js @@ -193,7 +193,7 @@ async function runSystemChecks() { async function checkMailStatus() { const result = await mail.checkConfiguration(); if (result.status) { - await notifications.clearAlert(notifications.ALERT_REBOOT, 'Email is not configured properly'); + await notifications.clearAlert(notifications.ALERT_MAIL_STATUS, 'Email is not configured properly'); } else { await notifications.alert(notifications.ALERT_MAIL_STATUS, 'Email is not configured properly', result.message, { persist: true }); }