🚸(addon) switch add button to remove when a link already exists

From the task panel, change the "add" button to "remove" when a
meeting link is already present.

This will be updated to "update" once the external API supports
updating an existing room.
This commit is contained in:
lebaudantoine
2026-06-10 13:52:56 +02:00
committed by aleb_the_flash
parent 321cb99f82
commit 09dbb250a7
7 changed files with 183 additions and 22 deletions
@@ -41,7 +41,10 @@
<!-- Authenticated -->
<div id="view-auth" style="display:none;">
<div id="btn-container">
<!-- shown when no meeting is present -->
<button id="btn-generate" data-i18n="meeting.add_meeting"></button>
<!-- shown when a meeting is already present -->
<button id="btn-remove" style="display:none;" data-i18n="meeting.remove_meeting"></button>
<button id="btn-disconnect" data-i18n="auth.disconnect"></button>
</div>
</div>