Skip to content

Commit

Permalink
Add More Roles
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Oct 10, 2024
1 parent a3a4540 commit 76d99ea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions api/web/src/components/CloudTAK/Menu/Overlays.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
<IconPencil
v-if='isDraggable === false'
v-tooltip='"Edit Order"'
role='button'
tabindex='0'
class='cursor-pointer'
:size='32'
:stroke='1'
Expand All @@ -12,6 +14,8 @@
<IconPencilCheck
v-else-if='isDraggable === true'
v-tooltip='"Save Order"'
role='button'
tabindex='0'
class='cursor-pointer'
:size='32'
:stroke='1'
Expand All @@ -22,6 +26,8 @@
v-if='!isDraggable'
v-tooltip='"Add Overlay"'
class='cursor-pointer'
role='button'
tabindex='0'
:size='32'
:stroke='1'
@click='$router.push("/menu/datas")'
Expand All @@ -43,6 +49,8 @@
v-if='isDraggable'
v-tooltip='"Draw to reorder"'
class='drag-handle cursor-move'
role='button'
tabindex='0'
:size='20'
:stroke='1'
/>
Expand All @@ -60,13 +68,17 @@
v-if='!isDraggable && !opened.includes(overlay.id)'
:size='20'
:stroke='1'
role='button'
tabindex='0'
class='cursor-pointer'
@click='opened.push(overlay.id)'
/>
<IconChevronDown
v-else-if='!isDraggable'
:size='20'
:stroke='1'
role='button'
tabindex='0'
class='cursor-pointer'
@click='opened.splice(opened.indexOf(overlay.id), 1)'
/>
Expand Down

0 comments on commit 76d99ea

Please sign in to comment.