Skip to content

Commit

Permalink
Consistent Location for LayerStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Sep 19, 2024
1 parent 88e61d7 commit 3770a27
Show file tree
Hide file tree
Showing 6 changed files with 595 additions and 526 deletions.
2 changes: 1 addition & 1 deletion api/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export const ProfileOverlayResponse = createSelectSchema(schemas.ProfileOverlay,
pos: Type.Integer(),
opacity: Type.Number(),
visible: Type.Boolean(),
styles: Type.Unknown()
styles: Type.Array(Type.Unknown())
});

export const LayerAlertResponse = createSelectSchema(schemas.LayerAlert, {
Expand Down
146 changes: 73 additions & 73 deletions api/web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions api/web/src/components/CloudTAK/Menu/OverlayExplorer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ export default {
mode_id: overlay.id,
type: overlay.type,
styles: overlay.styles
}, {
layers: overlay.styles
}));
this.loading = false;
Expand Down
Loading

0 comments on commit 3770a27

Please sign in to comment.