Skip to content

Open source personal finance application

fix(StatPie)

ilkome636443b3ce96
diff --git a/components/stat/group/Pie.vue b/components/stat/group/Pie.vue
index e8b25ff6..4af3c425 100644
--- a/components/stat/group/Pie.vue
+++ b/components/stat/group/Pie.vue
@@ -23,7 +23,7 @@ export default defineComponent({
<template lang="pug">
.my-6(v-if="isShow")
- LazyStatPieChart(
+ LazyStatGroupPieChart(
v-if="isShow"
:amountType="typeText"
)
diff --git a/components/stat/group/RoundItem.vue b/components/stat/group/RoundItem.vue
index 29d97696..f604a5f2 100644
--- a/components/stat/group/RoundItem.vue
+++ b/components/stat/group/RoundItem.vue
@@ -43,7 +43,9 @@ export default {
@click.stop="setFilterCatsId(categoryId)"
): div(:class="category.icon")
- .statItemRound__name.js-getWidth(:class="{ _isCategoryHasChildren: isCategoryHasChildren }") {{ category.name }}{{ isCategoryHasChildren ? '...' : '' }}
+ .statItemRound__name.js-getWidth(:class="{ _isCategoryHasChildren: isCategoryHasChildren }")
+ | {{ category.name }}{{ isCategoryHasChildren ? '...' : '' }}
+
.statItemRound__amount.js-getWidth.text-skin-item-base
Amount(
:amount="total"
@@ -55,6 +57,8 @@ export default {
<style lang="stylus">
.statItemRound
+ max-width 160px
+
&__icon
.icon
width 36px !important