fix: hide service type select when editing

This commit is contained in:
2025-10-10 20:57:30 +04:00
parent 73e3fd4ba2
commit 5aa3b4d9e2

View File

@ -115,9 +115,11 @@ const ServiceEditorModal = ({
{...form.getInputProps("cost")}
allowNegative={false}
/>
<ServiceTypeSegmentedControl
{...form.getInputProps("serviceType")}
/>
{!innerProps.isEditing && (
<ServiceTypeSegmentedControl
{...form.getInputProps("serviceType")}
/>
)}
</Stack>
</Fieldset>
<Fieldset