- fixed but to delete specific alert item

- need to remove rawcamebase from config in prod
This commit is contained in:
2025-10-13 11:48:10 +01:00
parent 9f3674e460
commit 44962e7d81
5 changed files with 46 additions and 18 deletions

View File

@@ -1,7 +1,4 @@
const rawCamBase = import.meta.env.VITE_AGX_BOX_URL;
export const CAM_BASE =
rawCamBase && rawCamBase.trim().length > 0
? rawCamBase
: window.location.origin;
export const CAM_BASE = rawCamBase ? rawCamBase : window.location.origin;
export const OUTSIDE_CAM_BASE = import.meta.env.VITE_OUTSIDE_BASEURL;

View File

@@ -136,6 +136,7 @@ export const checkIsHotListHit = (sigthing: SightingType | null) => {
const isHotListHit = Object.values(
sigthing?.metadata?.hotlistMatches
).includes(true);
return isHotListHit;
}
};