Skip to content
Snippets Groups Projects
Commit 8491af0b authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

Fixed VOAPP-79

parent ff6e0cae
Branches
No related tags found
No related merge requests found
......@@ -500,6 +500,10 @@ export default {
{
this.mapObservation.observationHeader=routeParam.observationHeader;
}
if(routeParam.timeOfObservation)
{
this.mapObservation.timeOfObservation = routeParam.timeOfObservation;
}
if(this.isMyMapPanelVisible)
......
......@@ -39,7 +39,7 @@
<div v-if="isMounted" class="row">
<span v-html="mandatoryField"></span>
<router-link id="linkMap" class="btn btn-secondary" ref='linkMap' :to="{name:'MapObservation', params: {observationId:observation.observationId,geoinfo:mapGeoinfo,isMapPanelVisible:newMapPanel,locationPointOfInterestId:mapLocationPointOfInterestId,observationHeader:observationHeader, observationText:observationText,observation:observation}}">
<router-link id="linkMap" class="btn btn-secondary" ref='linkMap' :to="{name:'MapObservation', params: {observationId:observation.observationId,geoinfo:mapGeoinfo,isMapPanelVisible:newMapPanel,locationPointOfInterestId:mapLocationPointOfInterestId,observationHeader:observationHeader, observationText:observationText, timeOfObservation:strDateObservation, observation:observation}}">
{{ $t("prop.observation.map.label") }} <i class="fas fa-map-marker-alt"></i>
</router-link>
</div>
......@@ -825,7 +825,7 @@ export default {
var maxDate = year + '-' + month + '-' + day;
var minDate = year + '-' + '01' + '-' + '01';
var minDate = 2000 + '-' + '01' + '-' + '01';
this.maxObservationDate = maxDate+'T00:00';
this.minObservationDate = minDate+'T00:00';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment