Skip to content

Commit

Permalink
refactor(Stats): new unique year count stat (in Misc)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Mar 2, 2025
1 parent 384a658 commit 3d4f265
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,8 @@
"ValidatePricesWithAI": "Validate prices with AI",
"View": "View",
"Website": "Website",
"Year": "Year",
"Years": "Years",
"Yes": "Yes",
"No": "No",
"Food": "Food",
Expand Down
4 changes: 4 additions & 0 deletions src/views/Stats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@
<v-col cols="6" sm="4" md="3" lg="2">
<StatCard :value="stats.price_currency_count" :subtitle="$t('Common.Currencies')" />
</v-col>
<v-col cols="6" sm="4" md="3" lg="2">
<StatCard :value="stats.price_year_count" :subtitle="$t('Common.Years')" />
</v-col>
</v-row>

<p class="mt-2 mb-1">
Expand Down Expand Up @@ -207,6 +210,7 @@ export default {
price_source_other_count: 0,
price_location_country_count: 0,
price_currency_count: 0,
price_year_count: 0,
product_count: 0,
product_source_off_count: 0,
product_source_obf_count: 0,
Expand Down

0 comments on commit 3d4f265

Please sign in to comment.