mirror of
https://github.com/outbackdingo/openapi-ui.git
synced 2026-01-27 18:19:50 +00:00
fix backlink from search tables
This commit is contained in:
@@ -32,7 +32,7 @@ export const getBackLinkToBuiltinTable = ({
|
||||
searchMount?: boolean
|
||||
}): string => {
|
||||
if (searchMount) {
|
||||
return fullPath
|
||||
return encodeURIComponent(fullPath)
|
||||
}
|
||||
const root = `${baseprefix}${inside ? '/inside' : ''}/${cluster}`
|
||||
const mainRoute = `${root}${namespace ? `/${namespace}` : ''}${syntheticProject ? `/${syntheticProject}` : ''}`
|
||||
@@ -64,7 +64,7 @@ export const getBackLinkToApiTable = ({
|
||||
searchMount?: boolean
|
||||
}): string => {
|
||||
if (searchMount) {
|
||||
return fullPath
|
||||
return encodeURIComponent(fullPath)
|
||||
}
|
||||
|
||||
const root = `${baseprefix}${inside ? '/inside' : ''}/${cluster}`
|
||||
|
||||
Reference in New Issue
Block a user