Fix current view

This commit is contained in:
Pieter Vander Vennet 2024-02-29 10:57:44 +01:00
parent 59f56bd251
commit 346f45cff8

View file

@ -313,6 +313,9 @@ export default class LayoutConfig implements LayoutInformation {
if (tags === undefined) {
return undefined
}
if(tags.id.startsWith("current_view")){
return this.getLayer("current_view")
}
for (const layer of this.layers) {
if (!layer.source) {
if (layer.isShown?.matchesProperties(tags)) {