mirror of
https://github.com/frappe/books.git
synced 2025-01-24 15:48:25 +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 Report from 'src/pages/Report.vue';
|
||||||
import Settings from 'src/pages/Settings/Settings.vue';
|
import Settings from 'src/pages/Settings/Settings.vue';
|
||||||
import TemplateBuilder from 'src/pages/TemplateBuilder/TemplateBuilder.vue';
|
import TemplateBuilder from 'src/pages/TemplateBuilder/TemplateBuilder.vue';
|
||||||
import { reactive } from 'vue';
|
|
||||||
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
|
||||||
import { historyState } from './utils/refs';
|
import { historyState } from './utils/refs';
|
||||||
|
|
||||||
|
@ -349,7 +349,7 @@ export function getFormRoute(
|
|||||||
return route;
|
return route;
|
||||||
}
|
}
|
||||||
|
|
||||||
return `/edit/${schemaName}/${name}`;
|
return `/edit/${schemaName}/${name.replaceAll('/', '%2F')}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function getDocFromNameIfExistsElseNew(
|
export async function getDocFromNameIfExistsElseNew(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user