Skip to content

Commit 3054b45

Browse files
committed
refactor: show link list only if it has content
1 parent bc36c6e commit 3054b45

File tree

1 file changed

+3
-5
lines changed
  • packages/api-reference/src/v2/blocks/scalar-request-example-block/components

1 file changed

+3
-5
lines changed

packages/api-reference/src/v2/blocks/scalar-request-example-block/components/RequestExample.vue

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -251,11 +251,9 @@ const selectClient = (option: ClientOption) => {
251251
const id = useId()
252252
</script>
253253
<template>
254-
<!-- External docs -->
255-
<LinkList>
256-
<ExternalDocs
257-
v-if="operation.externalDocs"
258-
:value="operation.externalDocs" />
254+
<!-- External Docs -->
255+
<LinkList v-if="operation.externalDocs">
256+
<ExternalDocs :value="operation.externalDocs" />
259257
</LinkList>
260258
<ScalarCard
261259
v-if="clients.length"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy