From 6ea37e0a191c0415d21c56a1a237fdeb0e6900be Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Thu, 7 Jan 2021 10:12:25 +0100 Subject: [PATCH] Inject subscribe attribute (dbp/apps/authenticdocument#2) --- packages/app-shell/src/app-shell.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/app-shell/src/app-shell.js b/packages/app-shell/src/app-shell.js index 6729a4aa..fc8ae009 100644 --- a/packages/app-shell/src/app-shell.js +++ b/packages/app-shell/src/app-shell.js @@ -728,6 +728,12 @@ export class AppShell extends ScopedElementsMixin(AdapterLitElement) { const elm = this._createActivityElement(act); elm.setAttribute("entry-point-url", this.entryPointUrl); elm.setAttribute("lang", this.lang); + + // add subscriptions to the provider component + if (act.subscribe !== undefined) { + elm.setAttribute("subscribe", act.subscribe); + } + return elm; } -- GitLab