mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-21 20:02:29 +08:00
[Status Page] Enable Edit Mode only if the token is presented
This commit is contained in:
@@ -56,7 +56,7 @@ export default {
|
||||
this.processing = false;
|
||||
|
||||
if (res.ok) {
|
||||
this.$router.push("/status/" + this.slug + "?edit");
|
||||
location.href = "/status/" + this.slug + "?edit";
|
||||
} else {
|
||||
|
||||
if (res.msg.includes("UNIQUE constraint")) {
|
||||
|
Reference in New Issue
Block a user