mirror of
https://github.com/frappe/books.git
synced 2024-11-08 14:50:56 +00:00
fix: navigation issue cause of "/"
This commit is contained in:
parent
5f32c45736
commit
2bf5d3c38a
@ -9,7 +9,6 @@ import QuickEditForm from 'src/pages/QuickEditForm.vue';
|
||||
import Report from 'src/pages/Report.vue';
|
||||
import Settings from 'src/pages/Settings/Settings.vue';
|
||||
import TemplateBuilder from 'src/pages/TemplateBuilder/TemplateBuilder.vue';
|
||||
import { reactive } from 'vue';
|
||||
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
||||
import { historyState } from './utils/refs';
|
||||
|
||||
|
@ -349,7 +349,7 @@ export function getFormRoute(
|
||||
return route;
|
||||
}
|
||||
|
||||
return `/edit/${schemaName}/${name}`;
|
||||
return `/edit/${schemaName}/${name.replaceAll('/', '%2F')}`;
|
||||
}
|
||||
|
||||
export async function getDocFromNameIfExistsElseNew(
|
||||
|
Loading…
Reference in New Issue
Block a user