Skip to content

Open source personal finance application

fix StatPc type

ilkomecd6b2c3a8a9f
diff --git a/components/stat/StatPc.vue b/components/stat/StatPc.vue
index 5b825a5d..d11c2dd6 100644
--- a/components/stat/StatPc.vue
+++ b/components/stat/StatPc.vue
@@ -69,7 +69,7 @@ export default {
:category="$store.state.categories.items[categoryId]"
:categoryId="categoryId"
:currency="$store.state.currencies.base"
- :type="0"
+ :type="item.type"
:key="categoryId"
:total="statCurrentPeriod.categories[categoryId][item.id]")
</template>