From d0c779b66e65ed3a97c93328ddcc991438cad5f3 Mon Sep 17 00:00:00 2001 From: PxlLoewe <72106766+PxlLoewe@users.noreply.github.com> Date: Mon, 14 Apr 2025 19:05:11 -0700 Subject: [PATCH] added close aircraft button --- .../_components/map/AircraftMarker.tsx | 16 ++++++++++++++-- grafana/grafana.db | Bin 1122304 -> 1122304 bytes 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/apps/dispatch/app/(dispatch)/_components/map/AircraftMarker.tsx b/apps/dispatch/app/(dispatch)/_components/map/AircraftMarker.tsx index c13db02e..db852d4c 100644 --- a/apps/dispatch/app/(dispatch)/_components/map/AircraftMarker.tsx +++ b/apps/dispatch/app/(dispatch)/_components/map/AircraftMarker.tsx @@ -4,7 +4,7 @@ import { DivIcon, Marker as LMarker, Popup as LPopup } from "leaflet"; import { useMapStore } from "_store/mapStore"; import { Fragment, useCallback, useEffect, useRef, useState } from "react"; import { cn } from "helpers/cn"; -import { House, Route } from "lucide-react"; +import { Cross, House, Minimize2, Route } from "lucide-react"; export const FMS_STATUS_COLORS: { [key: string]: string } = { "0": "rgb(126,0,5)", @@ -241,7 +241,19 @@ const AircraftLabel = ({ aircraft }: { aircraft: Aircraft }) => { anchor.includes("left") && "-translate-x-1/2", anchor.includes("top") && "-translate-y-1/2", )} - > + /> +