Skip to content

Commit

Permalink
Show link type when there's no description. Add information icon only… (
Browse files Browse the repository at this point in the history
  • Loading branch information
udgover authored Jan 29, 2024
1 parent 1cc6db7 commit 08653cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/RelatedObjects.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
<v-icon v-if="node.direction == 'out'">mdi-arrow-right</v-icon>
<v-icon v-else-if="node.direction == 'in'">mdi-arrow-left</v-icon>

<v-btn size="small" variant="text" append-icon="mdi-information" v-if="node.description">
<v-btn size="small" variant="text" append-icon="mdi-information">
<template v-slot:append>
<v-icon class="on-surface"></v-icon>
<v-icon class="on-surface" v-if="node.description"></v-icon>
</template>
{{ node.type }}
<v-menu activator="parent">
<v-menu activator="parent" v-if="node.description">
<v-sheet class="px-5 py-2" color="background" width="auto" elevation="10" style="font-size: 0.8rem">
<yeti-markdown :text="node.description" />
</v-sheet>
Expand Down

0 comments on commit 08653cf

Please sign in to comment.