mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(docker/containers): migrate env vars to react [EE-5211] (#10345)
This commit is contained in:
parent
54112b56f2
commit
16ccf5871e
8 changed files with 103 additions and 24 deletions
14
app/react/docker/containers/CreateView/EnvVarsTab/index.ts
Normal file
14
app/react/docker/containers/CreateView/EnvVarsTab/index.ts
Normal file
|
@ -0,0 +1,14 @@
|
|||
import { envVarValidation } from '@@/form-components/EnvironmentVariablesFieldset';
|
||||
|
||||
import { toRequest } from './toRequest';
|
||||
import { toViewModel, getDefaultViewModel } from './toViewModel';
|
||||
|
||||
export { EnvVarsTab } from './EnvVarsTab';
|
||||
export type { Values } from './types';
|
||||
|
||||
export const envVarsTabUtils = {
|
||||
toRequest,
|
||||
toViewModel,
|
||||
validation: envVarValidation,
|
||||
getDefaultViewModel,
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue