Skip to content

Commit

Permalink
fix(ui): disable sidebar version tooltip when no commitId or collapsed (
Browse files Browse the repository at this point in the history
#5910)

Co-authored-by: Bart Ledoux <[email protected]>
  • Loading branch information
elevatebart and elevatebart authored Nov 14, 2024
1 parent 796cb69 commit ffec86f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/src/components/layout/SideBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
:persistent="false"
transition=""
:hide-after="0"
:disabled="!configs.commitId"
>
<template #content>
<code>{{ configs.commitId }}</code> <DateAgo v-if="configs.commitDate" :inverted="true" :date="configs.commitDate" />
Expand Down Expand Up @@ -370,6 +371,7 @@
span.version {
opacity: 0;
width: 0;
overflow: hidden;
}
}
Expand Down

0 comments on commit ffec86f

Please sign in to comment.