diff --git a/frontend/src/views/api-test/components/paramTable.vue b/frontend/src/views/api-test/components/paramTable.vue index ec4dba0072..d2ec2a45b6 100644 --- a/frontend/src/views/api-test/components/paramTable.vue +++ b/frontend/src/views/api-test/components/paramTable.vue @@ -930,11 +930,8 @@ }); const { lastDataIsDefault } = filterKeyValParams(arr, defaultLineData.value, false); if ( - hasNoIdItem && - !props.disabledExceptParam && - !props.disabledParamValue && - !lastDataIsDefault && - !props.isTreeTable + (hasNoIdItem && !lastDataIsDefault) || + (!props.disabledExceptParam && !props.disabledParamValue && !lastDataIsDefault && !props.isTreeTable) ) { addTableLine(arr.length - 1, false, true); }