ui: traffic-control edit: add spaces between networks for more readabillity

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-22 10:45:29 +01:00
parent b721783c48
commit 1f3352018b
1 changed files with 3 additions and 0 deletions

View File

@ -436,6 +436,9 @@ Ext.define('PBS.window.TrafficControlEdit', {
delete data.network; delete data.network;
} }
} }
if (data.network?.length) {
data.network = data.network.join(', ');
}
if (Ext.isArray(data.timeframe)) { if (Ext.isArray(data.timeframe)) {
data.timeframe = data.timeframe.join(';'); data.timeframe = data.timeframe.join(';');