mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-25 17:24:48 +10:00
* feat: start of library backends * feat: update backend routes and create initializer * feat: add legacy library creation * fix: resolve frontend type errors * fix: runtime errors * fix: lint
This commit is contained in:
@@ -27,10 +27,7 @@
|
||||
</NuxtLink>
|
||||
</p>
|
||||
|
||||
<div
|
||||
v-if="libraryState.unimportedGames.length > 0"
|
||||
class="mt-2 rounded-md bg-blue-600/10 p-4"
|
||||
>
|
||||
<div v-if="toImport" class="mt-2 rounded-md bg-blue-600/10 p-4">
|
||||
<div class="flex">
|
||||
<div class="flex-shrink-0">
|
||||
<InformationCircleIcon
|
||||
@@ -177,4 +174,5 @@ useHead({
|
||||
});
|
||||
|
||||
const libraryState = await $dropFetch("/api/v1/admin/library");
|
||||
const toImport = Object.entries(libraryState.unimportedGames).length > 0;
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user