introduce setting "allowAdHocMeetings" to show or hide Adhoc-Meetings button

This commit is contained in:
stefan.tollkuehn committed 2026-10-22 15:54:31 +02:00
1 parent 7939d384bc
commit c5f145a547
4 files changed
+23 -2

No files matched your search

+18
View File
@@ -313,6 +313,23 @@ function applyNextcloudButton() {
createNextcloudButton.classList.remove("hidden");
}
/* ============================================================
* ADHOC BUTTON
* ============================================================
*/
/*
* Nur anzeigen, wenn explizit aktiviert
* (CONFIG.allowAdhocMeetings in assets/config.json).
*/
function applyAdhocButton() {
if (!CONFIG.allowAdhocMeetings || !createAdhocButton) {
return;
}
createAdhocButton.classList.remove("hidden");
}
/* ============================================================
* DOM elements
* ============================================================
@@ -1467,6 +1484,7 @@ async function start() {
applyBackgroundImage();
applyLogo();
applyNextcloudButton();
applyAdhocButton();
await loadTranslations();