diff --git a/src-web/components/EnvironmentActionsDropdown.tsx b/src-web/components/EnvironmentActionsDropdown.tsx index a6e30d40..4ccf6551 100644 --- a/src-web/components/EnvironmentActionsDropdown.tsx +++ b/src-web/components/EnvironmentActionsDropdown.tsx @@ -27,7 +27,6 @@ export const EnvironmentActionsDropdown = memo(function EnvironmentActionsDropdo const showEnvironmentDialog = useCallback(() => { dialog.toggle({ id: 'environment-editor', - hideX: true, noPadding: true, size: 'lg', className: 'h-[80vh]', diff --git a/src-web/components/EnvironmentEditDialog.tsx b/src-web/components/EnvironmentEditDialog.tsx index a121922d..52c43bc8 100644 --- a/src-web/components/EnvironmentEditDialog.tsx +++ b/src-web/components/EnvironmentEditDialog.tsx @@ -73,9 +73,11 @@ export const EnvironmentEditDialog = function ({ initialEnvironment }: Props) { > Global Variables -
- -
+ {environments.length > 0 && ( +
+ +
+ )} {environments.map((e) => (
{environment?.name ?? 'Global Variables'}
- {environment == null && ( - - Always available no matter which environment is active - - )}
; - } - return (
{firstSlot({ style: areaL, orientation: vertical ? 'vertical' : 'horizontal' })}