File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ onBeforeMount(async () => {
9393 activeKeys .value = Object .keys (groups .value )
9494 sortedKeys .value = activeKeys .value .sort ()
9595 await initializeAPICollections ()
96- setTabActive (route .params . id )
96+ setTabActive (route .query . operationid )
9797 let element = document .getElementById (" selected-api-version" )
9898 if (element !== null ) {
9999 const totalRows = Object .values (groups .value ).reduce ((acc , currentValue ) => acc + currentValue .length , 0 )
@@ -136,7 +136,7 @@ const countApis = () => {
136136const routeToFirstAPI = () => {
137137 let element
138138 const elements = document .getElementsByClassName (' api-router-link' )
139- const id = route .params . id
139+ const id = route .query . operationid
140140 for (const el of elements ) {
141141 if (el .id === id ) {
142142 element = el
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ import { DEFAULT_OBP_API_VERSION } from '../../shared-constants'
3030
3131// Always use v5.1.0 for application infrastructure - stable and debuggable
3232export const OBP_API_VERSION = DEFAULT_OBP_API_VERSION
33+ // Default to showing v6.0.0 documentation in the UI (can be overridden by env var)
3334export const OBP_API_DEFAULT_RESOURCE_DOC_VERSION =
34- import . meta. env . VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION ?? `OBP ${ DEFAULT_OBP_API_VERSION } `
35+ import . meta. env . VITE_OBP_API_DEFAULT_RESOURCE_DOC_VERSION ?? 'OBPv6.0.0'
3536const default_collection_name = 'Favourites'
3637
3738export async function serverStatus ( ) : Promise < any > {
You can’t perform that action at this time.
0 commit comments