Documents for not conserved

This commit is contained in:
2025-04-28 15:55:34 +02:00
parent 3f6d70f159
commit 50f474e49e
3 changed files with 66 additions and 5 deletions

View File

@@ -166,11 +166,12 @@ UI.openNotConserModal = function (data, selector) {
for (let tab of dataTabs) tab.innerHTML = '';
let notConserved = new NotConserved();
notConserved.siteData = data;
notConserved.data = data;
// For Stimulus biblio_controller
window.Biblio = notConserved;
notConserved.render().then(html => modal.querySelector('#not-conserved-sheet').innerHTML = html);
notConserved.renderDocs().then(html => modal.querySelector('#documents').innerHTML = html);
notConserved.setImages(modal.querySelector('#photos'), this.imageGallery);
modal.classList.add('is-active');
}