1
0
Fork 0
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:
Chaim Lev-Ari 2023-09-21 04:11:18 +03:00 committed by GitHub
parent 54112b56f2
commit 16ccf5871e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 103 additions and 24 deletions

View 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,
};