mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
fix(stacks): update info text for stack environment variables [EE-6902] (#11551)
This commit is contained in:
parent
09837769d7
commit
b265810b95
8 changed files with 95 additions and 16 deletions
|
@ -13,6 +13,7 @@ import { withControlledInput } from '@/react-tools/withControlledInput';
|
|||
import {
|
||||
EnvironmentVariablesFieldset,
|
||||
EnvironmentVariablesPanel,
|
||||
StackEnvironmentVariablesPanel,
|
||||
envVarValidation,
|
||||
} from '@@/form-components/EnvironmentVariablesFieldset';
|
||||
import { Icon } from '@@/Icon';
|
||||
|
@ -263,3 +264,13 @@ withFormValidation(
|
|||
['explanation', 'showHelpMessage', 'isFoldable'],
|
||||
envVarValidation
|
||||
);
|
||||
|
||||
withFormValidation(
|
||||
ngModule,
|
||||
withUIRouter(
|
||||
withControlledInput(StackEnvironmentVariablesPanel, { values: 'onChange' })
|
||||
),
|
||||
'stackEnvironmentVariablesPanel',
|
||||
['showHelpMessage', 'isFoldable'],
|
||||
envVarValidation
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue