From 2bab4b388ad652874bbed5ef2644238eb6002cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Jim=C3=A9nez=20Pascual?= Date: Thu, 13 Apr 2023 17:42:51 +0200 Subject: [PATCH] console: Fix payload formatters test form The new validation introduced in PR #6151 broke this form. This commit applies the same fix used previously in the UplinkForm component. --- .../console/containers/device-payload-formatters/uplink.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/webui/console/containers/device-payload-formatters/uplink.js b/pkg/webui/console/containers/device-payload-formatters/uplink.js index 6e4e297f7a3..93ffdebd066 100644 --- a/pkg/webui/console/containers/device-payload-formatters/uplink.js +++ b/pkg/webui/console/containers/device-payload-formatters/uplink.js @@ -173,7 +173,10 @@ class DevicePayloadFormatters extends React.PureComponent { rx_metadata: [ { gateway_ids: { gateway_id: 'test' }, rssi: 42, channel_rssi: 42, snr: 4.2 }, ], - settings: { data_rate: { lora: { bandwidth: 125000, spreading_factor: 7 } } }, + settings: { + data_rate: { lora: { bandwidth: 125000, spreading_factor: 7 } }, + frequency: 868000000, + }, }, version_ids: Object.keys(version_ids).length > 0 ? version_ids : undefined, formatter,