File tree Expand file tree Collapse file tree
src/frontend/platform/src/pages/Dashboard/components/config Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -482,7 +482,7 @@ export function FilterConditionDialog({
482482 const newConditions = prev . conditions . filter ( c => c . id !== id )
483483 return {
484484 ...prev ,
485- conditions : [ createEmptyCondition ( ) ]
485+ conditions : newConditions . length > 0 ? newConditions : [ createEmptyCondition ( ) ]
486486 }
487487 } )
488488 }
@@ -661,7 +661,7 @@ export function FilterConditionDialog({
661661 < SelectTrigger className = "w-[120px] h-8" >
662662 < SelectValue placeholder = { t ( 'filterConditionDialog.placeholders.selectField' ) } />
663663 </ SelectTrigger >
664- < SelectContent className = " overflow-y-auto w-[160px]" >
664+ < SelectContent className = " overflow-y-auto w-[160px] max-h-[200px] " >
665665 { filteredFields . length > 0 ? (
666666 filteredFields . map ( f => {
667667 const displayText = getFieldDisplayName ( f . fieldCode ) || "暂无" ;
You can’t perform that action at this time.
0 commit comments