Skip to content
Snippets Groups Projects
Unverified Commit 6ea37e0a authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire:
Browse files

Inject subscribe attribute (dbp/apps/authenticdocument#2)

parent af08e2d0
No related branches found
No related tags found
No related merge requests found
Pipeline #15422 passed
...@@ -728,6 +728,12 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) { ...@@ -728,6 +728,12 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) {
const elm = this._createActivityElement(act); const elm = this._createActivityElement(act);
elm.setAttribute("entry-point-url", this.entryPointUrl); elm.setAttribute("entry-point-url", this.entryPointUrl);
elm.setAttribute("lang", this.lang); elm.setAttribute("lang", this.lang);
// add subscriptions to the provider component
if (act.subscribe !== undefined) {
elm.setAttribute("subscribe", act.subscribe);
}
return elm; return elm;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment