File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff 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 => ({
Original file line number Diff line number Diff 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 => ({
You can’t perform that action at this time.
0 commit comments