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

les sorts/monstres/objets magiques sont visibles directement depuis les listes d'un simple clic

This commit is contained in:
Maxime Moraine 2020-05-06 17:34:35 +02:00
parent 65fa675c6f
commit 2a3f9b153a
8 changed files with 80 additions and 16 deletions

View file

@ -16,6 +16,7 @@
:items-per-page="-1"
hide-default-footer
show-expand
@click:row="onClickRow"
>
<template v-slot:expanded-item="{ headers, item }">
@ -127,6 +128,9 @@ export default {
}
}
return false
},
onClickRow (row, item) {
item.expand(!item.isExpanded)
}
}
}