mirror of
https://github.com/mickael-kerjean/filestash.git
synced 2026-10-20 08:16:40 +00:00
11 lines
598 B
Diff
11 lines
598 B
Diff
diff --git a/public/assets/components/sidebar.js b/public/assets/components/sidebar.js
|
|
index 268aa4eb..e7b93142 100644
|
|
--- a/public/assets/components/sidebar.js
|
|
+++ b/public/assets/components/sidebar.js
|
|
@@ -52,1 +52,5 @@ export default async function ctrlSidebar(render, {}) {
|
|
|
|
+ qs($sidebar, ".component_sidebar > div").appendChild(createElement(`<div data-bind="chat"></div>`));
|
|
+ import(location.origin + "/plg_handler_chat/sidebar_chat.js")
|
|
+ .then((module) => module.default(createRender(qs($sidebar, `[data-bind="chat"]`)), { path }))
|
|
+ .catch((err) => console.log(err));
|