VPC UI, VPN connections: fix 'DPD' boolean field

This commit is contained in:
Brian Federle 2012-08-09 16:13:04 -07:00
parent 41afde3207
commit 241d83aa09

View File

@ -1039,7 +1039,12 @@
esppolicy: { label: 'ESP policy' },
ikelifetime: { label: 'IKE Lifetime (second)' },
esplifetime: {label: 'ESP Lifetime(second)' },
// dpd: {label: 'Dead Peer Detection'},
dpd: {
label: 'Dead Peer Detection',
converter: function(str) {
return str ? 'Yes' : 'No';
}
},
state: {label: 'State' },
created: { label: 'label.date', converter: cloudStack.converters.toLocalDate }
}