Skip to content

Commit

Permalink
Explorer: Future proof myself.
Browse files Browse the repository at this point in the history
  • Loading branch information
e3ndr committed Mar 19, 2024
1 parent 1985853 commit cd4705c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions explorer/src/routes/app/explorer/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
.finally(() => (executingQuery = false))) || [];
})();
onMount(() => {
checkSettings();
function rebuildTree() {
executingQuery = true;
fetch(`${$connectionUrl}/key-tree`, {
method: 'GET',
Expand All @@ -67,6 +65,11 @@
})
.catch(alert)
.finally(() => (executingQuery = false));
}
onMount(() => {
checkSettings();
rebuildTree();
});
</script>

Expand Down

0 comments on commit cd4705c

Please sign in to comment.