fix(frontend): redirect to local person page if already in DB
- PersonDetailsPage (TMDB mode) redirects to /people/:localId when local_id is present - "Add to Library" button only shown for people not in local DB - Shows skeleton during redirect to avoid flash of preview content Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
1 parent
507cdbcff7
commit
b3002a329d
2 files changed
+14
-1
No files matched your search
@@ -23,6 +23,7 @@ export interface TmdbFilmographyResponse {
|
||||
|
||||
export interface TmdbPersonPreview {
|
||||
tmdb_id: number;
|
||||
local_id: number | null;
|
||||
name: string;
|
||||
biography: string | null;
|
||||
birthday: string | null;
|
||||
|
||||
Reference in new issue
Block a user