diff options
| author | Fuwn <[email protected]> | 2023-12-28 11:38:22 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-12-28 11:38:22 -0800 |
| commit | 54252e49709631d219bc35a6156220aa96036eff (patch) | |
| tree | 26c99232e12468a21f9346619377721a028c4421 /src/lib/Tools | |
| parent | feat(tools): user requested tools (diff) | |
| download | due.moe-54252e49709631d219bc35a6156220aa96036eff.tar.xz due.moe-54252e49709631d219bc35a6156220aa96036eff.zip | |
feat(wrapped): respect user title choice
Diffstat (limited to 'src/lib/Tools')
| -rw-r--r-- | src/lib/Tools/Wrapped.svelte | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/Tools/Wrapped.svelte b/src/lib/Tools/Wrapped.svelte index 6d66ea73..92886121 100644 --- a/src/lib/Tools/Wrapped.svelte +++ b/src/lib/Tools/Wrapped.svelte @@ -25,6 +25,7 @@ import ActivityHistoryGrid from './ActivityHistory/Grid.svelte'; import SettingHint from '$lib/Settings/SettingHint.svelte'; import { database } from '$lib/Database/activities'; + import MediaTitleDisplay from '$lib/List/MediaTitleDisplay.svelte'; export let user: AniListAuthorisation; @@ -481,7 +482,7 @@ {#each animeList?.slice(0, highestRatedCount) as anime} <li> <a href={`https://anilist.co/anime/${anime.id}`} target="_blank"> - {anime.title.english || anime.title.romaji || anime.title.native} + <MediaTitleDisplay title={anime.title} /> </a> </li> {/each} @@ -507,7 +508,7 @@ {#each mangaList?.slice(0, highestRatedCount) as manga} <li> <a href={`https://anilist.co/manga/${manga.id}`} target="_blank"> - {manga.title.english || manga.title.romaji || manga.title.native} + <MediaTitleDisplay title={manga.title} /> </a> </li> {/each} |