mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-10-15 09:50:48 +02:00
useHead
This commit is contained in:
@@ -49,8 +49,10 @@ const setUrl = async () => {
|
||||
const cleanUpDatabaseBusy = ref(false);
|
||||
const cleanUpDatabase = async () => {
|
||||
cleanUpDatabaseBusy.value = true;
|
||||
await useApi('/v2/Maintenance/CleanupNoDownloadManga', { method: 'POST' })
|
||||
.then(() => refreshNuxtData(FetchKeys.Manga.All))
|
||||
.finally(() => (cleanUpDatabaseBusy.value = false));
|
||||
await useApi('/v2/Maintenance/CleanupNoDownloadManga', { method: 'POST' });
|
||||
await refreshNuxtData(FetchKeys.Manga.All);
|
||||
cleanUpDatabaseBusy.value = false;
|
||||
};
|
||||
|
||||
useHead({title: 'Settings'});
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user