Fix links on nick changes
This commit is contained in:
parent
97120c13f5
commit
33fbe44881
@ -37,7 +37,11 @@ export function save(arn: AnimeNotifier, input: HTMLElement) {
|
||||
(input as HTMLInputElement).disabled = false
|
||||
}
|
||||
|
||||
return arn.reloadContent()
|
||||
if(apiEndpoint.startsWith("/api/user/") && input.dataset.field === "Nick") {
|
||||
return arn.reloadPage()
|
||||
} else {
|
||||
return arn.reloadContent()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user