Skip to content

Commit

Permalink
Merge pull request #218 from Suwayomi/main
Browse files Browse the repository at this point in the history
fix an issue with migrating manga query being reset
  • Loading branch information
Robonau authored Aug 12, 2024
2 parents 6b88c41 + 3a15960 commit e71fbd8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/routes/(app)/browse/migrate/manga/[MangaID]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,14 @@
variables: { id: data.MangaID }
});
$: $query = $manga.data?.manga?.title || null;
const unSub = manga.subscribe(onSub);
function onSub(mangaNow: typeof $manga) {
if (mangaNow?.data?.manga?.title) {
$query = mangaNow?.data?.manga?.title;
unSub();
}
}
function OpenModal(id: number) {
modalStore.trigger({
Expand Down
2 changes: 1 addition & 1 deletion versionToServerVersionMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
{
"tag": "v1.1.0",
"uiVersion": "r1104",
"uiVersion": "r1107",
"serverVersion": "r1502",
"comment": "the server version is between 1.0.0 and 1.1.0 release",
"comment2": "because its the preview version that implemented the breaking changes"
Expand Down

0 comments on commit e71fbd8

Please sign in to comment.