Skip to content

Commit

Permalink
Merge pull request #4299 from systeminit/fix(web)--Add-upgrade-indica…
Browse files Browse the repository at this point in the history
…tion-to-frames

fix(web): Add upgrade indication to frames
  • Loading branch information
stack72 authored Aug 7, 2024
2 parents 2b7d510 + d699e06 commit c963871
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 c963871

Please sign in to comment.