Skip to content

Commit

Permalink
Merge pull request #219 from Suwayomi/main
Browse files Browse the repository at this point in the history
fix migration using unSub before initialisation
  • Loading branch information
Robonau authored Aug 27, 2024
2 parents e71fbd8 + 490cc40 commit 5ab0ac0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/routes/(app)/browse/migrate/manga/[MangaID]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
function onSub(mangaNow: typeof $manga) {
if (mangaNow?.data?.manga?.title) {
$query = mangaNow?.data?.manga?.title;
unSub();
setTimeout(() => {
unSub();
}, 1);
}
}
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": "r1107",
"uiVersion": "r1110",
"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 5ab0ac0

Please sign in to comment.