diff --git a/packages/insomnia/src/ui/components/modals/mock-server-settings-modal.tsx b/packages/insomnia/src/ui/components/modals/mock-server-settings-modal.tsx index 45c4969fe..948e9e17f 100644 --- a/packages/insomnia/src/ui/components/modals/mock-server-settings-modal.tsx +++ b/packages/insomnia/src/ui/components/modals/mock-server-settings-modal.tsx @@ -153,19 +153,21 @@ export const MockServerSettingsModal = ({ onClose }: { onClose: () => void }) => To learn more about self hosting. Click here - - - - + {!isSelfHostedDisabled && ( + + + + + )}
- - - mockServer && mockServerPatcher(mockServer._id, { url: e.target.value })} - className="py-1 placeholder:italic w-full pl-2 pr-7 rounded-sm border border-solid border-[--hl-sm] bg-[--color-bg] text-[--color-font] focus:outline-none focus:ring-1 focus:ring-[--hl-md] transition-colors" - /> - + {!isSelfHostedDisabled && ( + + + mockServer && mockServerPatcher(mockServer._id, { url: e.target.value })} + className="py-1 placeholder:italic w-full pl-2 pr-7 rounded-sm border border-solid border-[--hl-sm] bg-[--color-bg] text-[--color-font] focus:outline-none focus:ring-1 focus:ring-[--hl-md] transition-colors" + /> + + )} )}