mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
refactor(ui/code-editor): accept enum type (#22)
Some checks are pending
Label Conflicts / triage (push) Waiting to run
Some checks are pending
Label Conflicts / triage (push) Waiting to run
Co-authored-by: Chaim Lev-Ari <chaim.levi-ari@portainer.io>
This commit is contained in:
parent
20e9423390
commit
7a35b5b0e4
16 changed files with 57 additions and 66 deletions
|
@ -36,7 +36,7 @@ export function EditYamlFormSection({
|
|||
onChange={(values) => onChange(values)}
|
||||
id={formId}
|
||||
placeholder="Define or paste the content of your manifest file here"
|
||||
yaml
|
||||
type="yaml"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
|
|
@ -37,7 +37,7 @@ export function YAMLInspector({
|
|||
readonly
|
||||
hideTitle
|
||||
id={identifier}
|
||||
yaml
|
||||
type="yaml"
|
||||
height={expanded ? '800px' : '500px'}
|
||||
onChange={() => {}} // all kube yaml inspectors in CE are read only
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue