diff --git a/packages/app-shell/src/index.js b/packages/app-shell/src/index.js index dae8484d73a9b8d5e4fd84dcee3ece62db402714..6f1288b786488ada55c1d98cdefd20d0147067e2 100644 --- a/packages/app-shell/src/index.js +++ b/packages/app-shell/src/index.js @@ -601,7 +601,7 @@ class VPUApp extends LitElement { const elm = document.createElement(activity.element); - for(const key of this.topic.attributes) { + for(const key of this.topic.attributes || []) { let value = sessionStorage.getItem('vpu-attr-' + key); if (value !== null) { elm.setAttribute(key, value);