Fixed clear on import bug

ref #54
This commit is contained in:
Nicolai Ort 2021-02-20 16:31:30 +01:00
parent b337873ca2
commit 09d27c0b05

View File

@ -20,6 +20,7 @@
$: searchvalue = "";
const dispatch = createEventDispatcher();
function cancelModal() {
json_output = [];
import_modal_open = false;
dispatch("cancel");
}
@ -347,7 +348,6 @@
</button>
<button
on:click={() => {
json_output = [];
cancelModal();
}}
type="button"