- fixed but to delete specific alert item
- need to remove rawcamebase from config in prod
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -136,6 +136,7 @@ export const checkIsHotListHit = (sigthing: SightingType | null) => {
|
||||
const isHotListHit = Object.values(
|
||||
sigthing?.metadata?.hotlistMatches
|
||||
).includes(true);
|
||||
|
||||
return isHotListHit;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user