From 9cc5ab71071fb366eafcb84d7f505fbe1fe84e15 Mon Sep 17 00:00:00 2001 From: Benoit Alessandroni Date: Tue, 11 Aug 2020 17:57:12 +0200 Subject: [PATCH] Quick fix polls component --- src/dependencies.pug | 4 ++++ src/index.pug | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/dependencies.pug b/src/dependencies.pug index ac07c8f..e111ca5 100644 --- a/src/dependencies.pug +++ b/src/dependencies.pug @@ -38,6 +38,10 @@ if endpoints.users || (endpoints.get && endpoints.get.users) script(type="module" src="https://unpkg.com/@startinblox/component-chat@0.8" defer) //- script(type="module" src="/lib/solid-xmpp-chat/dist/index.js" defer) +if endpoints.polls || (endpoints.get && endpoints.get.polls) + script(type="module" src="https://unpkg.com/@startinblox/component-poll@1.0" defer) + //- script(type="module" src="/lib/sib-event-component/sib-event.js" defer) + script(src="/scripts/index.js" defer) //- Stylesheets diff --git a/src/index.pug b/src/index.pug index 850a8b6..dcdbd14 100644 --- a/src/index.pug +++ b/src/index.pug @@ -14,10 +14,6 @@ html(lang="en") if clientCSS link(rel='stylesheet', href=`${clientCSS}`) - if endpoints.polls || (endpoints.get && endpoints.get.polls) - script(type="module" src="/lib/sib-polls-component/index.js" defer) - //- script(type="module" src="/lib/sib-event-component/sib-event.js" defer) - body .wrapper