mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +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:
@ -1972,7 +1972,7 @@ const queueList = async () => {
|
||||
transport=dom.select(
|
||||
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: ''})),
|
||||
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'),
|
||||
|
Reference in New Issue
Block a user