Release / release (push) Successful in 3m35s
Relocate RefreshWatchListButton from the Home route into the WatchList header row beside Sort, so refresh lives with the list it refreshes. Tweak header styling to fit the new layout (text-nowrap on the button, max-h/margins on the sort select).
19 lines
551 B
Svelte
19 lines
551 B
Svelte
<script lang="ts">
|
|
import { CheckIfAniListLoggedInAndLoadWatchList } from "../helperModules/CheckIfAniListLoggedInAndLoadWatchList.svelte";
|
|
import { loading } from "../helperModules/GlobalVariablesAndHelperFunctions.svelte";
|
|
</script>
|
|
|
|
<div class="flex justify-end">
|
|
<button
|
|
type="button"
|
|
class="py-2 px-4 mt-4 mr-4 text-nowrap bg-gray-700 rounded-lg"
|
|
on:click={async () => {
|
|
loading.set(true);
|
|
await CheckIfAniListLoggedInAndLoadWatchList();
|
|
loading.set(false);
|
|
}}
|
|
>
|
|
Refresh WatchList
|
|
</button>
|
|
</div>
|