Skip to content

Commit 4e4850d

Browse files
committed
Merge branch 'main' into handoff-merge-second
2 parents c965329 + fe2ba16 commit 4e4850d

File tree

3 files changed

+20
-4
lines changed

3 files changed

+20
-4
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
11+
## [2.0.1] - 2025-07-07
12+
13+
### Changed
14+
- Disabled map downloads in the simple section
15+
16+
1017
## [2.0.0] - 2025-06-26
1118

1219
### Added
@@ -27,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2734
- Previous version, developed by a different team
2835

2936

30-
[Unreleased]: https://github.com/geobeyond/arpav-cline-frontend/compare/v2.0.0...main
37+
[Unreleased]: https://github.com/geobeyond/arpav-cline-frontend/compare/v2.0.1...main
38+
[2.0.1]: https://github.com/geobeyond/arpav-cline-frontend/compare/v2.0.0...v2.0.1
3139
[2.0.0]: https://github.com/geobeyond/arpav-cline-frontend/compare/v2.0.0-rc1...v2.0.0
3240
[2.0.0-rc1]: https://github.com/geobeyond/arpav-cline-frontend/tree/v2.0.0-rc1

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "PPCV-frontend",
3-
"version": "2.0.0",
3+
"version": "2.1.0-dev",
44
"license": "CC-BY-SA-3.0",
55
"author": "Geobeyond <info@geobeyond.it> (http://www.geobeyond.it/)",
66
"homepage": ".",

src/app/components/MapMenuBar/index.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,11 @@ export function MapMenuBar(props: MapMenuBar) {
788788
{isMobile ? (
789789
<IconButton
790790
onClick={() => onDownloadMapImg()}
791-
disabled={foundLayers === 0 || inProgress}
791+
disabled={
792+
foundLayers === 0 ||
793+
inProgress ||
794+
(map_mode === 'simple' && map_data === 'forecast')
795+
}
792796
aria-label={t('app.map.menuBar.downloadMap')}
793797
>
794798
{inProgress ? (
@@ -808,7 +812,11 @@ export function MapMenuBar(props: MapMenuBar) {
808812
}
809813
onClick={() => onDownloadMapImg()}
810814
aria-label={t('app.map.menuBar.downloadMap')}
811-
disabled={foundLayers === 0 || inProgress}
815+
disabled={
816+
foundLayers === 0 ||
817+
inProgress ||
818+
(map_mode === 'simple' && map_data === 'forecast')
819+
}
812820
>
813821
{t('app.map.menuBar.downloadMap')}
814822
</Button>

0 commit comments

Comments
 (0)