From 066063667737d7f3a5bc24d88458f0621e95e3fc Mon Sep 17 00:00:00 2001 From: Emillio Mariscal Date: Thu, 2 May 2024 13:45:20 -0300 Subject: [PATCH] + Configurable project's hashtag on Live Monitoring --- frontend/src/views/projectLiveMonitoring.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/views/projectLiveMonitoring.js b/frontend/src/views/projectLiveMonitoring.js index 130ea787e2..0e593d8e9e 100644 --- a/frontend/src/views/projectLiveMonitoring.js +++ b/frontend/src/views/projectLiveMonitoring.js @@ -24,6 +24,7 @@ import { mappingTypesTags, mappingTypesFeatureTypes, } from '../config/underpass'; +import { TM_DEFAULT_CHANGESET_COMMENT } from '../config'; import './projectLiveMonitoring.css'; const availableImageryValues = availableImageryOptions.map((item) => item.value); @@ -53,6 +54,7 @@ export function ProjectLiveMonitoring() { const [areaOfInterest, setAreaOfInterest] = useState(null); const [project, setProject] = useState(null); + const defaultComment = `${TM_DEFAULT_CHANGESET_COMMENT}-${id}`.replace("#",""); const hasLiveMonitoringFeature = useHasLiveMonitoringFeature(); @@ -210,7 +212,7 @@ export function ProjectLiveMonitoring() {