Feat: remove 'noteImportLayer', they are not used enough for the big performance and maintenance impact they have

This commit is contained in:
Pieter Vander Vennet 2024-10-12 12:57:09 +02:00
parent 48dc03b1e6
commit e35df654d7
10 changed files with 9 additions and 351 deletions

View file

@ -459,7 +459,6 @@ export class GenerateDocs extends Script {
const allLayers = AllSharedLayers.getSharedLayersConfigs()
const layersToShow = theme.layers.filter(
(l) =>
!l.id.startsWith("note_import_") &&
l.id !== "favourite" &&
Constants.added_by_default.indexOf(<any>l.id) < 0
)

View file

@ -304,9 +304,6 @@ class LayerOverviewUtils extends Script {
if(sharedLayers.has(l.id)){
continue
}
if(l.id.startsWith("note_import")){
continue
}
LayerOverviewUtils.mergeKeywords(keywords, this.layerKeywords(l))
}