Skip to content

Commit

Permalink
Update Print component
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 8, 2024
1 parent 10f3239 commit e39ba57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/src/components/Print.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export default class Print extends HTMLElement {
// Filtering printTemplates by atlas enabled
// and since 3.7 by layout enabled
mainLizmap.config?.printTemplates.map((template, index) => {
if (template?.atlas?.enabled === '0'){
if (template?.atlas?.enabled === '0' || template?.atlas?.enabled === false){
// Lizmap >= 3.7
if (layouts?.list) {
if(layouts.list?.[index]?.enabled){
Expand Down

0 comments on commit e39ba57

Please sign in to comment.