From 37fb1895fe1b81308c26d268a8b92eef8f719e42 Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Sun, 9 Jul 2017 17:02:29 +0200 Subject: [PATCH] Fixed wrong redirect --- pages/animelistitem/animelistitem.pixy | 2 +- scripts/Actions.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/animelistitem/animelistitem.pixy b/pages/animelistitem/animelistitem.pixy index d0dfe9aa..d63fa80b 100644 --- a/pages/animelistitem/animelistitem.pixy +++ b/pages/animelistitem/animelistitem.pixy @@ -25,7 +25,7 @@ component AnimeListItem(viewUser *arn.User, item *arn.AnimeListItem, anime *arn. InputTextArea("Notes", item.Notes, "Notes", "Your notes") .buttons.mountable - a.ajax.button(href="/+" + viewUser.Nick + "/animelist/watching") + a.ajax.button(href="/+" + viewUser.Nick + "/animelist") Icon("list") span View collection a.ajax.button(href=anime.Link()) diff --git a/scripts/Actions.ts b/scripts/Actions.ts index 917ebde7..119512c3 100644 --- a/scripts/Actions.ts +++ b/scripts/Actions.ts @@ -272,7 +272,7 @@ export function removeAnimeFromCollection(arn: AnimeNotifier, button: HTMLElemen throw body } - return arn.app.load("/+" + userNick + "/animelist/watching") + return arn.app.load("/+" + userNick + "/animelist") }) .catch(console.error) .then(() => arn.loading(false))