Fixed FAB appearing on wrong tabs

This commit is contained in:
Stefan Zermatten
2022-05-01 23:43:31 +02:00
parent 3a18bce7e6
commit 8dbcae1060

View File

@@ -1,8 +1,8 @@
<template lang="html">
<v-speed-dial
v-if="speedDials"
v-model="fab"
direction="bottom"
:style="!speedDials ? 'visibility: hidden;' : ''"
>
<template #activator>
<v-btn
@@ -25,7 +25,6 @@
</transition>
</v-btn>
</template>
<labeled-fab
v-for="type in speedDials"
:key="type"
@@ -101,7 +100,8 @@
'features',
'inventory',
'spells',
'character',
'journal',
'build',
'tree',
];
@@ -134,7 +134,7 @@
'features': ['feature'],
'inventory': ['item', 'container'],
'spells': ['spellList', 'spell'],
'character': ['note'],
'journal': ['note'],
'tree': [null],
};},
properties(){