apps/web: fix tbxVehicleTaxInYear addonBefore
This commit is contained in:
parent
ffaad142e8
commit
a65202c653
@ -332,7 +332,7 @@ const overrideRender: Partial<Record<keyof typeof map, RenderProps>> = {
|
||||
|
||||
const RenderedComponent = observer(() => {
|
||||
const { $calculation } = useStore();
|
||||
const { min, max } = $calculation.$values.getValue('irrInfo');
|
||||
const { max, min } = $calculation.$values.getValue('irrInfo');
|
||||
|
||||
return (
|
||||
<Container>
|
||||
@ -370,7 +370,7 @@ const overrideRender: Partial<Record<keyof typeof map, RenderProps>> = {
|
||||
<Element
|
||||
{...props}
|
||||
id={elementName}
|
||||
addonBefore={isFetching && <LoadingOutlined spin rev="" />}
|
||||
addonBefore={isFetching ? <LoadingOutlined spin rev="" /> : null}
|
||||
/>
|
||||
</Container>
|
||||
</Tooltip>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user