We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f26d6 commit 1f82d29Copy full SHA for 1f82d29
ui/src/router/common.ts
@@ -59,8 +59,8 @@ export const getSameRouteList: (
59
*/
60
export const getPermissionRoute = (routes: Array<RouteRecordRaw>, to: RouteLocationNormalized) => {
61
const routeName: string = to.meta
62
- ? to.meta.permissionRoute
63
- ? (to.meta.permissionRoute as string)
+ ? to.meta.sameRoute
+ ? (to.meta.sameRoute as string)
64
: (to.name as string)
65
66
const routeList = getSameRouteList(routes, routeName)
0 commit comments