fix patching
This commit is contained in:
@@ -15,7 +15,8 @@
|
||||
|
||||
const launch = () => {
|
||||
launching.set(true);
|
||||
window.dispatchEvent(new CustomEvent("launch", { detail: { patch: $patch } }));;
|
||||
const patching = $patch;
|
||||
window.dispatchEvent(new CustomEvent("launch", { detail: { patch: patching } }));;
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -34,11 +35,6 @@
|
||||
disabled={$launching}
|
||||
on:click={launch}>Launch</Button
|
||||
>
|
||||
<Checkbox
|
||||
disabled={$launching}
|
||||
bind:checked={$patch}
|
||||
on:click={() => patch.set(!$patch)}>Patch</Checkbox
|
||||
>
|
||||
<div
|
||||
class="w-full flex flex-col justify-center items-center gap-2 mt-2 {$launching
|
||||
? 'animate-fadeIn '
|
||||
|
Reference in New Issue
Block a user