Fix: cancel input prompt when dismissing input modal

This commit is contained in:
Mattias Granlund 2024-03-25 20:06:48 +01:00
parent 65e7540b96
commit 81e61409ca

View File

@ -49,13 +49,12 @@
}
function clear() {
console.log('clearing');
modal.close();
value = '';
}
</script>
<Modal bind:this={modal} width="small" title="Git fetch requires input">
<Modal bind:this={modal} on:close={() => cancel()} width="small" title="Git fetch requires input">
<div class="message">
{#if $error}
{$error.message}