This commit is contained in:
2020-10-07 19:15:19 +00:00
parent 49caab4139
commit 0d8bbb54a6
3 changed files with 12 additions and 8 deletions

View File

@@ -481,7 +481,7 @@ export default {
//post
//ensure the route doesn't end in /0 which will happen if it's a new record
//since the edit forms just send the url here with the ID regardless
if (window.$gz._.endsWith(route, "/0")) {
if (route.endsWith("/0")) {
route = route.slice(0, -2);
}
if (isLogin == false) {