File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
frontend/public/components Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -887,7 +887,12 @@ const Details: React.FC<PodDetailsProps> = ({ obj: pod }) => {
887887 ) ;
888888} ;
889889
890- const EnvironmentPage = ( props : { obj : PodKind ; envPath : string [ ] ; readOnly : boolean } ) => (
890+ const EnvironmentPage = ( props : {
891+ obj : PodKind ;
892+ rawEnvData ?: any ;
893+ envPath : string [ ] ;
894+ readOnly : boolean ;
895+ } ) => (
891896 < AsyncComponent
892897 loader = { ( ) => import ( './environment.jsx' ) . then ( ( c ) => c . EnvironmentPage ) }
893898 { ...( props as Record < string , unknown > ) }
@@ -896,7 +901,7 @@ const EnvironmentPage = (props: { obj: PodKind; envPath: string[]; readOnly: boo
896901
897902const envPath = [ 'spec' , 'containers' ] ;
898903const PodEnvironmentComponent = ( props : { obj : PodKind } ) => (
899- < EnvironmentPage obj = { props . obj } envPath = { envPath } readOnly = { true } />
904+ < EnvironmentPage obj = { props . obj } rawEnvData = { props . obj . spec } envPath = { envPath } readOnly = { true } />
900905) ;
901906
902907export const PodConnectLoader : React . FC < PodConnectLoaderProps > = ( {
You can’t perform that action at this time.
0 commit comments