Housekeeping: formatting

This commit is contained in:
Pieter Vander Vennet 2024-02-20 13:33:38 +01:00
parent 9d53a45f9a
commit 1528dfaae1
168 changed files with 3332 additions and 4560 deletions

View file

@ -190,16 +190,17 @@ class StatsticsForOverviewFile extends Combine {
}
}
elements.push(new SubtleButton(
undefined, "Download as csv"
).onClick(() => {
const data = GeoOperations.toCSV(overview._meta,
{
ignoreTags: /^((deletion:node)|(import:node)|(move:node)|(soft-delete:))/
elements.push(
new SubtleButton(undefined, "Download as csv").onClick(() => {
const data = GeoOperations.toCSV(overview._meta, {
ignoreTags:
/^((deletion:node)|(import:node)|(move:node)|(soft-delete:))/,
})
Utils.offerContentsAsDownloadableFile(data , "statistics.csv", {mimetype: "text/csv"})
}))
Utils.offerContentsAsDownloadableFile(data, "statistics.csv", {
mimetype: "text/csv",
})
})
)
return new Combine(elements)
},