Fixed wrong redirect
This commit is contained in:
parent
27b828578f
commit
37fb1895fe
@ -25,7 +25,7 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn.
|
|||||||
InputTextArea("Notes", item.Notes, "Notes", "Your notes")
|
InputTextArea("Notes", item.Notes, "Notes", "Your notes")
|
||||||
|
|
||||||
.buttons.mountable
|
.buttons.mountable
|
||||||
a.ajax.button(href="/+" + viewUser.Nick + "/animelist/watching")
|
a.ajax.button(href="/+" + viewUser.Nick + "/animelist")
|
||||||
Icon("list")
|
Icon("list")
|
||||||
span View collection
|
span View collection
|
||||||
a.ajax.button(href=anime.Link())
|
a.ajax.button(href=anime.Link())
|
||||||
|
@ -272,7 +272,7 @@ export function removeAnimeFromCollection(arn: AnimeNotifier, button: HTMLElemen
|
|||||||
throw body
|
throw body
|
||||||
}
|
}
|
||||||
|
|
||||||
return arn.app.load("/+" + userNick + "/animelist/watching")
|
return arn.app.load("/+" + userNick + "/animelist")
|
||||||
})
|
})
|
||||||
.catch(console.error)
|
.catch(console.error)
|
||||||
.then(() => arn.loading(false))
|
.then(() => arn.loading(false))
|
||||||
|
Loading…
Reference in New Issue
Block a user