Feat: manager case when there is no datas
This commit is contained in:
@@ -27,6 +27,9 @@ export default {
|
||||
rows: (state) => {
|
||||
return state.rows.data
|
||||
},
|
||||
present: (state) => {
|
||||
return state.rows.data.length > 0
|
||||
},
|
||||
spending_rows: (state, getters) => {
|
||||
return getters.rows.filter(x => x.Montant < 0)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user