mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-27 02:04:39 +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));
|
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(
|
const libraryGames = ref(
|
||||||
libraryState.games.map((e) => {
|
libraryState.games.map((e) => {
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ export class MetadataHandler {
|
|||||||
{
|
{
|
||||||
id: "",
|
id: "",
|
||||||
name: libraryPath,
|
name: libraryPath,
|
||||||
sourceId: "manual",
|
sourceId: MetadataSource.Manual,
|
||||||
},
|
},
|
||||||
libraryId,
|
libraryId,
|
||||||
libraryPath,
|
libraryPath,
|
||||||
|
|||||||
Reference in New Issue
Block a user