mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 08:18:16 +03:00
webadmin: don't on queue page when there are no transports and the queue is non-empty (typical case)
This commit is contained in:
parent
2265769b8e
commit
ae37b3ed4d
@ -1972,7 +1972,7 @@ const queueList = async () => {
|
|||||||
transport=dom.select(
|
transport=dom.select(
|
||||||
attr({title: 'Transport to use for delivery attempts. The default is direct delivery, connecting to the MX hosts of the domain.'}),
|
attr({title: 'Transport to use for delivery attempts. The default is direct delivery, connecting to the MX hosts of the domain.'}),
|
||||||
dom.option('(default)', attr({value: ''})),
|
dom.option('(default)', attr({value: ''})),
|
||||||
Object.keys(transports).sort().map(t => dom.option(t, m.Transport === t ? attr({checked: ''}) : [])),
|
Object.keys(transports || []).sort().map(t => dom.option(t, m.Transport === t ? attr({checked: ''}) : [])),
|
||||||
),
|
),
|
||||||
' ',
|
' ',
|
||||||
dom.button('Retry now'),
|
dom.button('Retry now'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user