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 keydown(e): void {
|
||||
if (e.keyCode === 13) queueFunc();
|
||||
else if (e.keyCode === 27) cancelFunc();
|
||||
else e.redraw = false;
|
||||
function keydown(e: KeyboardEvent): void {
|
||||
if (e.key === "Enter") queueFunc();
|
||||
else if (e.key === "Escape") cancelFunc();
|
||||
else e["redraw"] = false;
|
||||
}
|
||||
|
||||
let input;
|
||||
|
||||
@@ -102,12 +102,7 @@ const component: ClosureComponent = (): Component => {
|
||||
|
||||
const yamlString =
|
||||
config && Object.values(config).length
|
||||
? yaml.stringify(config, {
|
||||
schema: "failsafe",
|
||||
tags: (args) => {
|
||||
return args;
|
||||
},
|
||||
})
|
||||
? yaml.stringify(config, { schema: "failsafe" })
|
||||
: "";
|
||||
|
||||
const attrs = {
|
||||
|
||||
Reference in new issue
Block a user