mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-09 20:12:10 +10:00
* fix: manual metadata import * fix: lint
This commit is contained in:
@ -190,7 +190,9 @@ const libraryState = await $dropFetch("/api/v1/admin/library");
|
||||
|
||||
console.log(Object.values(libraryState.unimportedGames));
|
||||
|
||||
const toImport = ref(Object.values(libraryState.unimportedGames).flat().length > 0);
|
||||
const toImport = ref(
|
||||
Object.values(libraryState.unimportedGames).flat().length > 0,
|
||||
);
|
||||
|
||||
const libraryGames = ref(
|
||||
libraryState.games.map((e) => {
|
||||
|
||||
@ -102,7 +102,7 @@ export class MetadataHandler {
|
||||
{
|
||||
id: "",
|
||||
name: libraryPath,
|
||||
sourceId: "manual",
|
||||
sourceId: MetadataSource.Manual,
|
||||
},
|
||||
libraryId,
|
||||
libraryPath,
|
||||
|
||||
Reference in New Issue
Block a user