mirror of
https://github.com/mjl-/mox.git
synced 2025-01-14 01:06:27 +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
1 changed files with 1 additions and 1 deletions
|
@ -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'),
|
||||
|
|
Loading…
Reference in a new issue