refactor(web): simplify tiered pricing select items

This commit is contained in:
QuentinHsu
2026-06-10 08:36:01 +08:00
parent d380ed8ccd
commit 9274edc409
@@ -464,7 +464,7 @@ function ConditionRow({ condition, onChange, onRemove }: ConditionRowProps) {
</SelectContent>
</Select>
<Select
items={[...OPS.map((op) => ({ value: op, label: op }))]}
items={OPS.map((op) => ({ value: op, label: op }))}
value={condition.op}
onValueChange={(value) =>
onChange({ ...condition, op: value as TierConditionInput['op'] })