Skip to content

Commit efd0e99

Browse files
Merge pull request #22 from anushacs-dell/branch-ui
Fix hidden Home tab issue in header navigation
2 parents 5a7f80d + 0f2ecbb commit efd0e99

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

components/layout/default/Header.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,11 @@ const rightTabs = computed(() =>
164164
.filter(link =>
165165
link.href &&
166166
!link.href.endsWith('index.html') &&
167+
!link.href.endsWith('/') &&
168+
!link.href.includes('index') &&
167169
(
168170
link.type === 'application/json' ||
169-
link.rel === 'service-desc' // include Swagger
171+
link.rel === 'service-desc'
170172
)
171173
)
172174
.map(link => ({

components/layout/quasar/Header.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,11 @@ const rightTabs = computed(() =>
142142
.filter(link =>
143143
link.href &&
144144
!link.href.endsWith('index.html') &&
145+
!link.href.endsWith('/') &&
146+
!link.href.includes('index') &&
145147
(
146148
link.type === 'application/json' ||
147-
link.rel === 'service-desc' // include Swagger
149+
link.rel === 'service-desc'
148150
)
149151
)
150152
.map(link => ({

0 commit comments

Comments
 (0)