1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-30 21:24:18 +00:00

intégration des objets magiques + filtres

This commit is contained in:
Maxime Moraine 2020-04-09 15:27:03 +02:00
parent 1330db17af
commit d80cbc2600
315 changed files with 13824 additions and 2 deletions

View file

@ -2,18 +2,21 @@
<v-navigation-drawer class="right-drawer" v-model="rightDrawer" :clipped="$vuetify.breakpoint.lgAndUp" width="300" app right>
<PageToc v-if="hasPageToc" />
<SpellFilters v-if="hasSpellFilters" />
<MagicItemFilters v-if="hasMagicItemFilters" />
</v-navigation-drawer>
</template>
<script>
import PageToc from '@theme/components/PageToc'
import SpellFilters from '@theme/components/SpellFilters'
import MagicItemFilters from '@theme/components/MagicItemFilters'
export default {
name: 'RightDrawer',
components: {
SpellFilters,
MagicItemFilters,
PageToc
},
@ -37,6 +40,9 @@ export default {
hasSpellFilters () {
return this.$store.state.inRightDrawer == 'spellFilters'
},
hasMagicItemFilters () {
return this.$store.state.inRightDrawer == 'magicItemFilters'
},
},
mounted () {