feat: add new album page

This commit is contained in:
Prayag Prajapati committed 2024-07-29 10:04:31 +05:30
1 parent df91d4a744
commit 47ded84c48
13 files changed
+413 -354

No files matched your search

+6 -3
View File
@@ -47,13 +47,16 @@ export const Route = createFileRoute("/_api")({
},
});
}
return { api: apiTemp };
// return { api: apiTemp };
}
context.createApi(currentServer?.address, userOnDisk.AccessToken);
} else {
const apiTemp = context.jellyfinSDK.createApi(currentServer?.address, null);
const apiTemp = context.jellyfinSDK.createApi(
currentServer?.address,
null,
);
context.createApi(currentServer?.address, undefined); // Creates Api
return { api: apiTemp };
// return { api: apiTemp };
}
}
} else if (context.api) {