Skip to content

Commit

Permalink
feat: added feature_type on downloaded file
Browse files Browse the repository at this point in the history
  • Loading branch information
varun2948 committed Jan 4, 2024
1 parent f83f0c5 commit e65c57f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions frontend/src/assets/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@
@import 'contributions';

.fade-in {
// display: none;
opacity: 0;
transition: opacity 0.5s ease-in;
}

.fade-in.active {
// display: flex;
opacity: 1;
}
4 changes: 3 additions & 1 deletion frontend/src/components/projectDetail/downloadOsmData.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ export const DownloadOsmData = ({ projectMappingTypes, project }) => {
link.href = href;
link.setAttribute(
'download',
`hotosm_project_${project.projectId}_${title}_${fileFormat?.toLowerCase()}.zip`,
`hotosm_project_${
project.projectId
}_${title}_${feature_type}_${fileFormat?.toLowerCase()}.zip`,
);

// Add the link to the document body, click it, and then remove it
Expand Down

0 comments on commit e65c57f

Please sign in to comment.