mirror of
https://github.com/OpenBankProject/API-Explorer-II.git
synced 2026-02-06 18:56:58 +00:00
feature/Make "show API Manager link" in API Explorer II configurable 2
This commit is contained in:
parent
64a4916e5b
commit
fd01ff475c
@ -45,7 +45,7 @@ const obpApiHost = ref(import.meta.env.VITE_OBP_API_HOST)
|
||||
const obpApiPortalHost = ref(import.meta.env.VITE_OBP_API_PORTAL_HOST)
|
||||
const obpApiHybridPost = computed(() => obpApiPortalHost.value ? obpApiPortalHost.value : obpApiHost.value)
|
||||
const obpApiManagerHost = ref(import.meta.env.VITE_OBP_API_MANAGER_HOST)
|
||||
const isObpApiManagerHost = computed(() => obpApiManagerHost.value ? true : false)
|
||||
const hasObpApiManagerHost = computed(() => obpApiManagerHost.value ? true : false)
|
||||
const loginUsername = ref('')
|
||||
const logoffurl = ref('')
|
||||
const obpApiVersions = ref(inject(obpApiActiveVersionsKey)!)
|
||||
@ -126,7 +126,7 @@ watchEffect(() => {
|
||||
<RouterLink class="router-link" id="header-nav-glossary" to="/glossary">{{
|
||||
$t('header.glossary')
|
||||
}}</RouterLink>
|
||||
<a v-bind:href="obpApiManagerHost" v-show="isObpApiManagerHost" class="router-link" id="header-nav-api-manager">
|
||||
<a v-bind:href="obpApiManagerHost" v-show="hasObpApiManagerHost" class="router-link" id="header-nav-api-manager">
|
||||
{{ $t('header.api_manager') }}
|
||||
</a>
|
||||
<span class="el-dropdown-link">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user