More deprecation fixes
This commit is contained in:
1 parent
a43bba2405
commit
92091b52a2
2 files changed
+5
-10
No files matched your search
@@ -49,10 +49,10 @@ function mval(val): Children {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function renderStagingSpv(task: StageTask, queueFunc, cancelFunc): Children {
|
function renderStagingSpv(task: StageTask, queueFunc, cancelFunc): Children {
|
||||||
function keydown(e): void {
|
function keydown(e: KeyboardEvent): void {
|
||||||
if (e.keyCode === 13) queueFunc();
|
if (e.key === "Enter") queueFunc();
|
||||||
else if (e.keyCode === 27) cancelFunc();
|
else if (e.key === "Escape") cancelFunc();
|
||||||
else e.redraw = false;
|
else e["redraw"] = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
let input;
|
let input;
|
||||||
|
|||||||
@@ -102,12 +102,7 @@ const component: ClosureComponent = (): Component => {
|
|||||||
|
|
||||||
const yamlString =
|
const yamlString =
|
||||||
config && Object.values(config).length
|
config && Object.values(config).length
|
||||||
? yaml.stringify(config, {
|
? yaml.stringify(config, { schema: "failsafe" })
|
||||||
schema: "failsafe",
|
|
||||||
tags: (args) => {
|
|
||||||
return args;
|
|
||||||
},
|
|
||||||
})
|
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
const attrs = {
|
const attrs = {
|
||||||
|
|||||||
Reference in new issue
Block a user