Fix: Add precision on tag.invert

This commit is contained in:
Bertrand Benjamin 2018-12-04 19:03:55 +01:00
parent 9b4b2f2ec9
commit 32acc8b4f7
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
<div class="description">
<h4>{{ tag.name }}</h4>
Mots clés: {{ tag.words.join(" - ") }}
Mots clés<span v-if="tag.invert"> (tout sauf)</span>: {{ tag.words.join(" - ") }}
</div>
<div class="actions">
<!--

View File

@ -18,7 +18,7 @@ export default {
return Object.keys(state.csv)
},
rows: (state) => {
// return all data stored in csv
// return all data stored in csv deleting duplicates rows
return [ ...new Set(Object.values(state.csv).map(csv => csv.data)
.reduce((acc, d) => acc.concat(d), [])
)]