Skip to content

Commit 54ca992

Browse files
notanothervibecoderimorland
authored andcommitted
fix: correct condition for displaying not sending message in MailPage (#4260)
1 parent 10517f6 commit 54ca992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/core/js/src/admin/components/MailPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default class MailPage<CustomAttrs extends IPageAttrs = IPageAttrs> exten
9696
const fields = this.driverFields![this.setting('mail_driver')()] || {};
9797
const fieldKeys = Object.keys(fields);
9898

99-
if (this.status!.sending) {
99+
if (!this.status!.sending) {
100100
items.add('status', <Alert dismissible={false}>{app.translator.trans('core.admin.email.not_sending_message')}</Alert>);
101101
}
102102

0 commit comments

Comments
 (0)