Skip to content

Open source personal finance application

Remove unused component

ilkome36df79a4759c
diff --git a/src/components/stat/StatNew.vue b/src/components/stat/StatNew.vue
deleted file mode 100644
index a69a778a..00000000
--- a/src/components/stat/StatNew.vue
+++ /dev/null
@@ -1,54 +0,0 @@
-<script>
-import StatChartsLine from '@/components/stat/StatChartsLine'
-import StatMobile from '@/components/stat/StatMobile'
-import WalletsList from '@/components/wallets/list/WalletsList'
-
-export default {
- components: {
- StatChartsLine,
- StatMobile,
- WalletsList
- },
-
- methods: {
- handleShowWalletModal (id) {
- this.$store.commit('showWalletModal')
- this.$store.commit('setWalletModalId', id)
- }
- }
-}
-</script>
-
-<template lang="pug">
-.layoutStat
- .tabPanel
- .tabPanel__top
- .mainNav
- .mainNav__wrap
- .mainNav__title {{ $lang.categories.name }}
- .mainNav__create
- Button(
- className="_newSm"
- :title="$lang.categories.new"
- v-on:onClick="$store.dispatch('setActiveTab', 'createCategory')")
- .tabPanel__scroll
-
- //- .layoutStat__wallets(v-show="$store.state.ui.stat.walletsVisibility === 'visible'")
- //- WalletsList(
- //- :limit="3"
- //- ui="widget"
- //- v-on:onClick="id => handleShowWalletModal(id)")
-
- //- .layoutStat__chart(v-show="$store.state.ui.statGraphsVisibility === 'visible' && ($store.state.filter.period !== 'all')")
- //- StatChartsLine
-
- //- .layoutStat__summary
- //- StatMobile
-</template>
-
-<style lang="stylus" scoped>
-.layoutStat
- height 100%
- overflow hidden
- overflow-y auto
-</style>