fix: hide treeview menu option if it's empty

Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
Pranav C
2021-11-15 12:12:18 +05:30
parent 5e88184029
commit e0e9ca6e49

View File

@@ -235,7 +235,13 @@
<div class="action d-flex" @click.stop>
<v-menu>
<template #activator="{ on }">
<v-icon small v-on="on">
<v-icon
v-if="
_isUIAllowed('treeview-rename-button')||_isUIAllowed('ui-acl')
"
small
v-on="on"
>
mdi-dots-vertical
</v-icon>
</template>