fix: make sure umap.properties.slideshow is defined

This commit is contained in:
Yohan Boniface 2025-03-18 07:35:10 +01:00
parent 54a3aae912
commit 360ca100ba

View file

@ -18,6 +18,7 @@ export default class Slideshow extends WithTemplate {
this._umap = umap
this._id = null
this.CLASSNAME = 'umap-slideshow-active'
this._umap.properties.slideshow ??= {}
this.load()
this._current = null