File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/model-serving/src/components/deploymentWizard Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import {
1010 EmptyState ,
1111 EmptyStateBody ,
1212} from '@patternfly/react-core' ;
13+ import { CodeIcon } from '@patternfly/react-icons' ;
1314
1415export const DeploymentWizardYAMLView : React . FC = ( ) => {
1516 const [ code , setCode ] = React . useState ( '' ) ;
@@ -30,6 +31,7 @@ export const DeploymentWizardYAMLView: React.FC = () => {
3031 emptyState = {
3132 < Bullseye >
3233 < EmptyState
34+ icon = { CodeIcon }
3335 headingLevel = "h4"
3436 titleText = "No YAML available"
3537 data-testid = "yaml-editor-empty-state"
@@ -41,7 +43,7 @@ export const DeploymentWizardYAMLView: React.FC = () => {
4143 data-testid = "yaml-editor"
4244 code = { code }
4345 onCodeChange = { setCode }
44- language = { Language . plaintext }
46+ language = { Language . yaml }
4547 isLanguageLabelVisible
4648 />
4749 </ StackItem >
You can’t perform that action at this time.
0 commit comments