Skip to content

Commit

Permalink
use the correct name
Browse files Browse the repository at this point in the history
  • Loading branch information
nvms committed Dec 4, 2023
1 parent 83cc914 commit 740221e
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 23 deletions.
46 changes: 26 additions & 20 deletions extension/dist/webview.es.js
Original file line number Diff line number Diff line change
Expand Up @@ -52038,8 +52038,8 @@ function bT(r) {
);
}
function RT(r) {
let e, t, n;
function a() {
let e, t, n, a;
function i() {
r[17].call(
e,
/*key*/
Expand All @@ -52048,17 +52048,20 @@ function RT(r) {
}
return {
c() {
e = b("input"), S(e, "type", "checkbox"), S(e, "name", "url");
e = b("input"), S(e, "type", "checkbox"), S(e, "name", t = /*key*/
r[22]);
},
m(i, o) {
q(i, e, o), e.checked = /*presetClone*/
m(o, s) {
q(o, e, s), e.checked = /*presetClone*/
r[1].completionParams[
/*key*/
r[22]
], t || (n = Te(e, "change", a), t = !0);
], n || (a = Te(e, "change", i), n = !0);
},
p(i, o) {
r = i, o[0] & /*presetClone, providers*/
p(o, s) {
r = o, s[0] & /*presetClone, providers*/
6 && t !== (t = /*key*/
r[22]) && S(e, "name", t), s[0] & /*presetClone, providers*/
6 && (e.checked = /*presetClone*/
r[1].completionParams[
/*key*/
Expand All @@ -52067,14 +52070,14 @@ function RT(r) {
},
i: Ie,
o: Ie,
d(i) {
i && Y(e), t = !1, n();
d(o) {
o && Y(e), n = !1, a();
}
};
}
function CT(r) {
let e, t, n;
function a() {
let e, t, n, a;
function i() {
r[16].call(
e,
/*key*/
Expand All @@ -52083,20 +52086,23 @@ function CT(r) {
}
return {
c() {
e = b("input"), S(e, "type", "number"), S(e, "step", "any"), S(e, "name", "url"), S(e, "class", "svelte-16936go");
e = b("input"), S(e, "type", "number"), S(e, "step", "any"), S(e, "name", t = /*key*/
r[22]), S(e, "class", "svelte-16936go");
},
m(i, o) {
q(i, e, o), fe(
m(o, s) {
q(o, e, s), fe(
e,
/*presetClone*/
r[1].completionParams[
/*key*/
r[22]
]
), t || (n = Te(e, "input", a), t = !0);
), n || (a = Te(e, "input", i), n = !0);
},
p(i, o) {
r = i, o[0] & /*presetClone, providers*/
p(o, s) {
r = o, s[0] & /*presetClone, providers*/
6 && t !== (t = /*key*/
r[22]) && S(e, "name", t), s[0] & /*presetClone, providers*/
6 && Ld(e.value) !== /*presetClone*/
r[1].completionParams[
/*key*/
Expand All @@ -52112,8 +52118,8 @@ function CT(r) {
},
i: Ie,
o: Ie,
d(i) {
i && Y(e), t = !1, n();
d(o) {
o && Y(e), n = !1, a();
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion extension/dist/webview.umd.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions webview/src/components/PresetForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@
type="number"
step="any"
bind:value={presetClone.completionParams[key]}
name="url"
name={key}
/>
{:else if typeof value === "boolean"}
<input
type="checkbox"
bind:checked={presetClone.completionParams[key]}
name="url"
name={key}
/>
{:else if Array.isArray(value)}
<TagInput
Expand Down

0 comments on commit 740221e

Please sign in to comment.