Skip to content

Commit 1e420ee

Browse files
committed
chore: restore comment; use proper variable
1 parent 2db27e5 commit 1e420ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/components/Package/DownloadAnalytics.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ const config = computed(() => {
854854
<div>
855855
<VueUiXy :dataset="chartData.dataset" :config="config" class="[direction:ltr]">
856856
<!-- Custom legend for multiple series -->
857-
<template v-if="packageNames?.length" #legend="{ legend }">
857+
<template v-if="isMultiPackageMode" #legend="{ legend }">
858858
<div class="flex gap-4 flex-wrap justify-center">
859859
<!-- TODO: a11y -->
860860
<button
@@ -991,6 +991,7 @@ const config = computed(() => {
991991
box-shadow: none !important;
992992
}
993993
994+
/* Override default placement of the refresh button to have it to the minimap's side */
994995
@media screen and (min-width: 767px) {
995996
#download-analytics .vue-data-ui-refresh-button {
996997
top: -0.6rem !important;

0 commit comments

Comments
 (0)