mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-29 20:43:37 +03:00
Fix: cancel input prompt when dismissing input modal
This commit is contained in:
parent
65e7540b96
commit
81e61409ca
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user