introduce setting "allowAdHocMeetings" to show or hide Adhoc-Meetings button
This commit is contained in:
1 parent
7939d384bc
commit
c5f145a547
4 files changed
+23
-2
No files matched your search
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user