1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-29 20:54:19 +00:00

correction paramètres colonnes objets magiques

This commit is contained in:
Maxime Moraine 2021-02-11 14:19:32 +01:00
parent f7750b5034
commit 56068e9ac9

View file

@ -119,13 +119,13 @@ export default {
{ text: "", align: 'center', sortable: false, value: 'isInTreasureChest' },
{ text: "Nom", align: 'start', sortable: true, value: 'title' },
]
if (this.showColumn.school && this.$vuetify.breakpoint.mdAndUp) {
if (this.showColumn.type && this.$vuetify.breakpoint.mdAndUp) {
headers.push({ text: "Type", align: 'start', sortable: false, value: 'frontmatter.type' })
}
if (this.showColumn.castingTime && this.$vuetify.breakpoint.mdAndUp) {
if (this.showColumn.rarity && this.$vuetify.breakpoint.mdAndUp) {
headers.push({ text: "Rareté", align: 'start', sortable: false, value: 'frontmatter.rarity' })
}
if (this.showColumn.duration && this.$vuetify.breakpoint.mdAndUp) {
if (this.showColumn.attunement && this.$vuetify.breakpoint.mdAndUp) {
headers.push({ text: "Harmonisation", align: 'start', sortable: false, value: 'frontmatter.attunement' })
}
return headers