accounts: add dropdown arrow on "Announce" button

dependabot/npm_and_yarn/semver-5.7.2
Harvey Tindall 11 months ago
parent 850bb8f44e
commit baf5e6a593
No known key found for this signature in database
GPG Key ID: BBC65952848FB1A2

@ -1404,6 +1404,9 @@ export class accountsList {
this._announceButton.nextElementSibling.children[0].classList.add("unfocused");
return;
}
if (list.length > 0) {
this._announceButton.innerHTML = `${window.lang.strings("announce")} <i class="ml-2 ri-arrow-drop-down-line"></i>`;
}
const dList = document.getElementById("accounts-announce-templates") as HTMLDivElement;
dList.textContent = '';
for (let name of list) {

Loading…
Cancel
Save