Skip to content

Commit

Permalink
Add tooltip on hover of DFIQ tree (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchop authored Sep 9, 2024
1 parent 12311ed commit f56c348
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/components/DFIQTree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,16 @@
<v-chip density="compact" size="small">forensicartifact</v-chip>
</span>
<span v-else>
<span class="me-2">{{ sanitizeTitle(dfiqTree) }}</span>
<v-tooltip location="top" :open-delay="300">
<template v-slot:activator="{ props }">
{{ sanitizeTitle(dfiqTree) }}
<v-icon v-bind="props" class="ml-2 text-disabled" size="small">mdi-eye</v-icon>
</template>
<span
><v-chip size="x-small">{{ dfiqTree.object.type }}</v-chip> {{ dfiqTree.object.description }}</span
>
</v-tooltip>
<span class="me-2"></span>
<v-chip density="compact" size="small" v-if="dfiqTree.object.type === 'query'">{{
dfiqTree.object.query_type
}}</v-chip>
Expand Down

0 comments on commit f56c348

Please sign in to comment.