fix(web): map (#31056)
* fix(web): map without set start/end dates * fix(web): invalid timeline map options
This commit is contained in:
@@ -216,8 +216,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
fileCreatedAfter: dateAfter,
|
// $mapSettings stores no value as an empty string
|
||||||
fileCreatedBefore: dateBefore,
|
fileCreatedAfter: dateAfter || undefined,
|
||||||
|
fileCreatedBefore: dateBefore || undefined,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -82,7 +82,11 @@
|
|||||||
|
|
||||||
const timelineOptions = $derived({
|
const timelineOptions = $derived({
|
||||||
bbox: timelineBoundingBox,
|
bbox: timelineBoundingBox,
|
||||||
visibility: $mapSettings.includeArchived ? undefined : AssetVisibility.Timeline,
|
visibility: $mapSettings.withPartners
|
||||||
|
? AssetVisibility.Timeline
|
||||||
|
: $mapSettings.includeArchived
|
||||||
|
? undefined
|
||||||
|
: AssetVisibility.Archive,
|
||||||
isFavorite: $mapSettings.onlyFavorites || undefined,
|
isFavorite: $mapSettings.onlyFavorites || undefined,
|
||||||
withPartners: $mapSettings.withPartners || undefined,
|
withPartners: $mapSettings.withPartners || undefined,
|
||||||
assetFilter: selectedClusterIds,
|
assetFilter: selectedClusterIds,
|
||||||
|
|||||||
Reference in New Issue
Block a user