Skip to content

Commit

Permalink
fix(my-account): export landmark has wrong file extension
Browse files Browse the repository at this point in the history
  • Loading branch information
azarz committed Nov 27, 2024
1 parent 63e0366 commit 02db05f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/my-account/my-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ ${props.text}`,
documentsName = "Fichiers";
}
Filesystem.writeFile({
path: `${landmark.properties.title}.geojson`.replace(/[&/\\#,+()$~%.'":*?<>{}]/g, "_"),
path: `${landmark.properties.title.replace(/[&/\\#,+()$~%.'":*?<>{}]/g, "_")}.geojson`,
data: JSON.stringify(landmark),
directory: Directory.Documents,
encoding: Encoding.UTF8,
Expand Down

0 comments on commit 02db05f

Please sign in to comment.