Skip to content

Commit

Permalink
Add refresh button to admin panel
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Aug 30, 2024
1 parent d4ea04b commit 8bedf5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/routes/admin/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
shown in the background on many pages.
</p>
</form>
<div>
<h2>Reload data from disk</h2>
If you have edited the data manually, you can use this button to
refresh it.
<button on:click={() => api().admin.data.refresh()}>Refresh data</button>
</div>
</div>
</Paper>
</div>
Expand Down

0 comments on commit 8bedf5c

Please sign in to comment.