mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-18 08:00:51 +00:00
intégration des objets magiques + filtres
This commit is contained in:
parent
1330db17af
commit
d80cbc2600
315 changed files with 13824 additions and 2 deletions
|
|
@ -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 () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue