Commit c0e3c299f8
Unsigned
Layout: unified · split
docs/.vitepress/theme/components/ScrapeTable.vue +3 −2
| @@ -21,6 +21,7 @@ interface Site { | ||
| 21 | 21 | |
| 22 | 22 | const props = defineProps<{ |
| 23 | 23 | sites: Site[] |
| 24 | cornerLabel?: string | |
| 24 | 25 | }>() |
| 25 | 26 | |
| 26 | 27 | function normalizeScrapeValue(value: ScrapeValue): NormalizedScrapeValue { |
| @@ -143,7 +144,7 @@ onMounted(() => { | ||
| 143 | 144 | </colgroup> |
| 144 | 145 | <thead> |
| 145 | 146 | <tr> |
| 146 | <th class="corner">Sources</th> | |
| 147 | <th class="corner">{{ cornerLabel ?? 'Sources' }}</th> | |
| 147 | 148 | <th v-for="source in sources" :key="source" class="source-header"> |
| 148 | 149 | <span>{{ source }}</span> |
| 149 | 150 | </th> |
| @@ -205,4 +206,4 @@ onMounted(() => { | ||
| 205 | 206 | 0%, 100% { opacity: 0.5; transform: translateX(0); } |
| 206 | 207 | 50% { opacity: 1; transform: translateX(4px); } |
| 207 | 208 | } |
| 208 | </style> | |
| 209 | </style> | |
| \ No newline at end of file | ||