mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor showing collection filters
This commit is contained in:
parent
f9ca4b7675
commit
a253174f11
1 changed files with 3 additions and 1 deletions
|
@ -152,7 +152,9 @@ export default {
|
|||
}, 100),
|
||||
collectionFilters (collection) {
|
||||
return collection.filters.map(f => {
|
||||
return '(' + f.tags?.join(', ') + f.places?.map(p => p.name).join(', ') + ')'
|
||||
const tags = f.tags?.join(', ')
|
||||
const places = f.places?.map(p => p.name).join(', ')
|
||||
return '(' + (tags && places ? tags + ' - ' + places : tags + places) + ')'
|
||||
}).join(' - ')
|
||||
},
|
||||
async addFilter () {
|
||||
|
|
Loading…
Reference in a new issue