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

spell + filtering + urlParams

This commit is contained in:
Maxime Moraine 2020-04-01 19:34:06 +02:00
parent d872002ee9
commit da1547ab88
40 changed files with 1448 additions and 89 deletions

View file

@ -1,17 +1,5 @@
<template>
<v-navigation-drawer class="main-drawer" v-model="drawer" :clipped="$vuetify.breakpoint.lgAndUp" width="300" app>
<!-- <v-treeview
item-key="path"
item-text="title"
:items="items"
dense
open-all
hoverable
open-on-click
activatable
@update:active="updateActive"
>
</v-treeview> -->
<v-list dense nav>
<template v-for="item in items">
<v-list-group v-if="item.children" :key="item.title" v-model="item.expanded" :color="$site.themeConfig.accentColor">
@ -87,12 +75,6 @@ export default {
},
methods: {
updateActive (active) {
console.log(active)
if (active[0] == undefined) return
const path = active[0].replace('.html', '')
this.$router.push(path)
}
}
}
</script>
@ -123,11 +105,4 @@ export default {
}
}
}
// Case of treeview
.v-treeview-node__level {
width: 12px;
}
</style>