fix: hide service type select when editing
This commit is contained in:
@ -115,9 +115,11 @@ const ServiceEditorModal = ({
|
|||||||
{...form.getInputProps("cost")}
|
{...form.getInputProps("cost")}
|
||||||
allowNegative={false}
|
allowNegative={false}
|
||||||
/>
|
/>
|
||||||
<ServiceTypeSegmentedControl
|
{!innerProps.isEditing && (
|
||||||
{...form.getInputProps("serviceType")}
|
<ServiceTypeSegmentedControl
|
||||||
/>
|
{...form.getInputProps("serviceType")}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</Stack>
|
</Stack>
|
||||||
</Fieldset>
|
</Fieldset>
|
||||||
<Fieldset
|
<Fieldset
|
||||||
|
|||||||
Reference in New Issue
Block a user