Skip to content

Commit

Permalink
fix(web): Add upgrade indication to frames
Browse files Browse the repository at this point in the history
  • Loading branch information
stack72 committed Aug 7, 2024
1 parent 2b7d510 commit d699e06
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/web/src/components/ModelingDiagram/DiagramGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,21 @@
/>
</v-group>

<DiagramIcon
v-if="group.def.canBeUpgraded"
:color="getToneColorHex('action')"
:size="24 + (diffIconHover ? 4 : 0)"
:x="halfWidth - GROUP_HEADER_ICON_SIZE - 36 / 2"
:y="
-nodeHeaderHeight +
GROUP_HEADER_ICON_SIZE / 2 -
GROUP_HEADER_BOTTOM_MARGIN +
(nodeHeaderHeight - GROUP_HEADER_ICON_SIZE) / 2
"
icon="bolt"
origin="center"
/>

<!-- added/modified indicator -->
<DiagramIcon
v-if="isAdded || isModified || isDeleted"
Expand Down

0 comments on commit d699e06

Please sign in to comment.