We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf9e5e1 + 1df3966 commit 2ecec7dCopy full SHA for 2ecec7d
1 file changed
app/components/Package/WeeklyDownloadStats.vue
@@ -17,6 +17,13 @@ const route = useRoute()
17
const chartModal = useModal('chart-modal')
18
const hasChartModalTransitioned = shallowRef(false)
19
20
+const modalTitle = computed(() => {
21
+ const facet = route.query.facet as string | undefined
22
+ if (facet === 'likes') return $t('package.trends.items.likes')
23
+ if (facet === 'contributors') return $t('package.trends.items.contributors')
24
+ return $t('package.trends.items.downloads')
25
+})
26
+
27
const isChartModalOpen = shallowRef<boolean>(false)
28
29
function handleModalClose() {
@@ -356,6 +363,7 @@ const config = computed(() => {
356
363
padding: 0 !important;
357
364
letter-spacing: 0.04rem;
358
365
}
366
359
367
.vue-ui-sparkline text {
360
368
font-family:
361
369
Geist Mono,
0 commit comments