Skip to content

Commit 6fa18d1

Browse files
authored
[fix][frontend] fix echo bug in trace filter's number input (#431)
fix(frontend): fix echo bug in trace filter's number input
1 parent d6cf9b2 commit 6fa18d1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • frontend/packages/loop-components/observation-components/src/shared/components/analytics-logic-expr

‎frontend/packages/loop-components/observation-components/src/shared/components/analytics-logic-expr/right-render.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ export const RightRender: React.FC<RightRenderProps> = props => {
205205
formatter={numberInputFormatter}
206206
disabled={disabled || isRowDisabled}
207207
hideButtons
208-
value={right?.[0] as string}
208+
value={(right?.[0] as string) ?? ''}
209209
max={Number.MAX_SAFE_INTEGER}
210210
min={Number.MIN_SAFE_INTEGER}
211211
onChange={v => {

0 commit comments

Comments
 (0)