ui: gcview: fix eslint warnings
The ternary ? operator should be at the start of the line if the the expression is split into multiple lines. Signed-off-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Gabriel Goller <g.goller@proxmox.com>
This commit is contained in:
parent
b08d340237
commit
84baca8a4c
@ -212,8 +212,8 @@ Ext.define('PBS.config.GCJobView', {
|
||||
{
|
||||
header: gettext('Removed Data'),
|
||||
dataIndex: 'removed-bytes',
|
||||
renderer: (value) => value !== undefined ?
|
||||
Proxmox.Utils.format_size(value, true) : "-",
|
||||
renderer: (value) => value !== undefined
|
||||
? Proxmox.Utils.format_size(value, true) : "-",
|
||||
sortable: false,
|
||||
minWidth: 85,
|
||||
flex: 1,
|
||||
@ -221,8 +221,8 @@ Ext.define('PBS.config.GCJobView', {
|
||||
{
|
||||
header: gettext('Pending Data'),
|
||||
dataIndex: 'pending-bytes',
|
||||
renderer: (value) => value !== undefined ?
|
||||
Proxmox.Utils.format_size(value, true) : "-",
|
||||
renderer: (value) => value !== undefined
|
||||
? Proxmox.Utils.format_size(value, true) : "-",
|
||||
sortable: false,
|
||||
minWidth: 80,
|
||||
flex: 3,
|
||||
|
Loading…
x
Reference in New Issue
Block a user