Commit 47869d6f authored by Mycha de Vrees's avatar Mycha de Vrees
Browse files

add genres to book list

parent bbf5ccef
Pipeline #373 passed with stage
in 1 minute and 25 seconds
......@@ -88,6 +88,7 @@ export default {
{ key: 'title', label: 'Title', sortable: true },
{ key: 'language', label: 'Language', sortable: true },
{ key: 'authors', label: 'Authors', sortable: true },
{ key: 'genres', label: 'Genres', sortable: true },
{ key: 'serie', label: 'Serie', sortable: true }
],
bookItems: [],
......
......@@ -3,7 +3,8 @@ export default {
const types = {
authors: 'author',
books: 'book',
serie: 'book_serie'
serie: 'book_serie',
genres: 'genre'
}
return types[key]
},
......@@ -11,7 +12,8 @@ export default {
const types = {
authors: true,
books: true,
serie: false
serie: false,
genres: true
}
return types[key]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment