This commit is contained in:
Vladyslav Matsiiako
2023-06-11 19:24:38 -07:00
@@ -90,7 +90,7 @@ export const ProjectSettingsPage = () => {
// get user subscription // get user subscription
const { subscription } = useSubscription(); const { subscription } = useSubscription();
const host = window.location.origin; const host = window.location.origin;
const isEnvServiceAllowed = ((currentWorkspace?.environments || []).length < (subscription?.envLimit || 3) && host === 'https://app.infisical.com'); const isEnvServiceAllowed = ((currentWorkspace?.environments || []).length < (subscription?.envLimit || 3) || host !== 'https://app.infisical.com');
const onRenameWorkspace = async (name: string) => { const onRenameWorkspace = async (name: string) => {
try { try {