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