Fixed link

This commit is contained in:
Eduard Urbach 2017-10-13 14:40:29 +02:00
parent 892cb3eb31
commit db15a0eb72

View File

@ -260,7 +260,7 @@ export function removeAnimeFromCollection(arn: AnimeNotifier, element: HTMLEleme
let apiEndpoint = arn.findAPIEndpoint(element) let apiEndpoint = arn.findAPIEndpoint(element)
arn.post(apiEndpoint + "/field/" + field + "/remove/" + index, "") arn.post(apiEndpoint + "/field/" + field + "/remove/" + index, "")
.then(() => arn.app.load("/+" + nick + "/animelist/" + (arn.app.find("Status") as HTMLSelectElement).value)) .then(() => arn.app.load("/animelist/" + (arn.app.find("Status") as HTMLSelectElement).value))
.catch(err => arn.statusMessage.showError(err)) .catch(err => arn.statusMessage.showError(err))
} }