Commit 88611c7ec6

88611c7ec6a80b99dcabbeb7b4d482ceee2ee431

parent: 211ea19345

Unsigned

Duck <57977673+woducku@users.noreply.github.com> · 2026-07-11 16:46 UTC

Update RepoRow.vue

Layout: unified · split

docs/.vitepress/theme/components/extrepo/RepoRow.vue +2 −1
@@ -1,6 +1,7 @@
11<script setup lang="ts">
22import { computed, ref } from 'vue'
33import { data as repoData } from '../../../../ext/extensionRepos.data'
4import { stripHtml } from './helpers'
45import { copyValue, installHref } from './install'
56import SiteGrid from './SiteGrid.vue'
67import type { Repo } from './types'
@@ -14,7 +15,7 @@ const open = ref(false)
1415const copied = ref(false)
1516
1617const sites = computed(() => repoData[props.repo.indexUrl]?.sites ?? [])
17const isExpandable = computed(() => sites.value.length > 1)
18const isExpandable = computed(() => stripHtml(props.repo.name) !== 'MegaRepo')
1819
1920async function copyUrl() {
2021 await navigator.clipboard.writeText(copyValue(props.scheme, props.repo.indexUrl))