Drupal from 10.6.17 to 11.4.7

This commit is contained in:
2026-09-26 01:10:59 +02:00
parent 89d68ac548
commit 62c814d57d
83 changed files with 4122 additions and 1745 deletions
@@ -44,7 +44,14 @@ export default {
MA.get('materio_decoupled/ajax/getheadermenu')
.then(({data}) => {
// console.log('HeaderMenu getMenuBlockHtml data', data)
this.html = data.rendered // record the html src into data
// record the html src into data
// guard against unexpected response body (truncated / non json)
// which would crash Vue.compile(undefined)
if (typeof data.rendered !== 'string') {
console.warn('HeaderMenu getMenuBlockHtml unexpected data', data)
return
}
this.html = data.rendered
})
.catch((error) => {
console.warn('Issue with getMenuBlockHtml', error)