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

déclenchement des tooltips après avoir filtré

This commit is contained in:
Maxime Moraine 2021-03-14 11:00:45 +01:00
parent c266c54ae0
commit bf9666fd76
4 changed files with 30 additions and 33 deletions

View file

@ -362,6 +362,15 @@ export default {
}
},
watch: {
spells: function (newSpells, oldSpells) {
let self = this
setTimeout(function () {
handleTooltips({pages:self.$site.pages})
}, 100);
}
},
methods: {
isSpellInSpellBook (spell) {
return isResourceInLibrary(spell, this.$store.state.mySpells.spells)
@ -384,11 +393,6 @@ export default {
setTimeout(function () {
handleTooltips({pages:self.$site.pages})
}, 100);
this.$router.afterEach(() => {
setTimeout(function () {
handleTooltips({pages:self.$site.pages})
}, 100)
})
},
changePage (page) {
@ -398,11 +402,6 @@ export default {
setTimeout(function () {
handleTooltips({pages:self.$site.pages})
}, 100);
this.$router.afterEach(() => {
setTimeout(function () {
handleTooltips({pages:self.$site.pages})
}, 100)
})
},
onClickRow (row, item) {