We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4202770 commit 07c1f87Copy full SHA for 07c1f87
dbm-ui/frontend/src/views/db-manage/redis/apply/ApplyRedis.vue
@@ -605,11 +605,11 @@
605
const specInfo = specBackendRef.value?.getData();
606
return {
607
backend_group: {
608
- count: specInfo?.machine_pair || 0,
+ count: Number(specInfo?.machine_pair || 0),
609
spec_id: state.formdata.details.resource_spec.backend_group.spec_id,
610
},
611
proxy: {
612
- count: state.formdata.details.resource_spec.proxy.count,
+ count: Number(state.formdata.details.resource_spec.proxy.count || 0),
613
spec_id: state.formdata.details.resource_spec.proxy.spec_id,
614
615
} as ComponentProps<typeof EstimatedCost>['params']['resource_spec'];
0 commit comments