ui: traffic-control view: time frames are optional so avoid render exception
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
188a37fbed
commit
07a579c632
|
@ -178,7 +178,7 @@ Ext.define('PBS.config.TrafficControlView', {
|
|||
{
|
||||
header: gettext('Timeframes'),
|
||||
sortable: false,
|
||||
renderer: (timeframes) => Ext.String.htmlEncode(timeframes.join('; ')),
|
||||
renderer: tf => tf ? Ext.String.htmlEncode(tf.join('; ')) : '',
|
||||
dataIndex: 'timeframe',
|
||||
width: 200,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue