Lint: linting!

This commit is contained in:
Bertrand Benjamin 2018-12-03 12:09:28 +01:00
parent 9d9f511f2c
commit 06855a1f5b
5 changed files with 42 additions and 35 deletions

View File

@ -4,7 +4,6 @@
</div> </div>
</template> </template>
<script> <script>
import pie from './charjs_donut' import pie from './charjs_donut'
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
@ -40,7 +39,7 @@ export default {
labels: this.selected_tags, labels: this.selected_tags,
datasets: [ datasets: [
{ {
label: "Dépenses", label: 'Dépenses',
data: this.spendings data: this.spendings
} }
] ]

View File

@ -1,6 +1,7 @@
<template> <template>
<div class="import"> <div class="import">
<h1>Analyse</h1> <h1>Analyse</h1>
<div class="analysis" v-if="rows">
<b-container fluid> <b-container fluid>
<b-row class="date-selector"> <b-row class="date-selector">
<b-col sm="1"><label for="start"> Entre </label> </b-col> <b-col sm="1"><label for="start"> Entre </label> </b-col>
@ -33,6 +34,12 @@
</template> </template>
</b-table> </b-table>
</div> </div>
<div v-else>
<font-awesome-icon icon="dizzy" class="fa"/>
Pas de données
<font-awesome-icon icon="dizzy" class="fa"/>
</div>
</div>
</template> </template>
<script> <script>
@ -63,7 +70,7 @@ export default {
sortable: true sortable: true
}, },
{ {
key: 'tags', key: 'tags'
} }
], ],
default_tag: { default_tag: {
@ -82,6 +89,7 @@ export default {
...mapGetters({ ...mapGetters({
'csvs': 'datas/csvs', 'csvs': 'datas/csvs',
'tag_filter_rows': 'datas/tag_filter_rows', 'tag_filter_rows': 'datas/tag_filter_rows',
'rows': 'datas/rows',
'start': 'datas/start', 'start': 'datas/start',
'end': 'datas/end', 'end': 'datas/end',
'tags': 'config/tags' 'tags': 'config/tags'