File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " api-explorer" ,
3- "version" : " 1.1.2 " ,
3+ "version" : " 1.1.3 " ,
44 "private" : true ,
55 "scripts" : {
66 "dev" : " vite & ts-node server/app.ts" ,
Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ const obpApiHost = ref(import.meta.env.VITE_OBP_API_HOST)
4545const obpApiPortalHost = ref (import .meta .env .VITE_OBP_API_PORTAL_HOST )
4646const obpApiHybridPost = computed (() => obpApiPortalHost .value ? obpApiPortalHost .value : obpApiHost .value )
4747const obpApiManagerHost = ref (import .meta .env .VITE_OBP_API_MANAGER_HOST )
48+ const hasObpApiManagerHost = computed (() => obpApiManagerHost .value ? true : false )
4849const loginUsername = ref (' ' )
4950const logoffurl = ref (' ' )
5051const obpApiVersions = ref (inject (obpApiActiveVersionsKey )! )
@@ -125,7 +126,7 @@ watchEffect(() => {
125126 <RouterLink class =" router-link" id =" header-nav-glossary" to =" /glossary" >{{
126127 $t('header.glossary')
127128 }}</RouterLink >
128- <a v-bind:href =" obpApiManagerHost" class =" router-link" id =" header-nav-api-manager" >
129+ <a v-bind:href =" obpApiManagerHost" v-show = " hasObpApiManagerHost " class =" router-link" id =" header-nav-api-manager" >
129130 {{ $t('header.api_manager') }}
130131 </a >
131132 <span class =" el-dropdown-link" >
You can’t perform that action at this time.
0 commit comments