From baf5e6a593d2b2ad3565b68b201837db255144b0 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Mon, 26 Jun 2023 13:08:34 +0100 Subject: [PATCH] accounts: add dropdown arrow on "Announce" button --- ts/modules/accounts.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts/modules/accounts.ts b/ts/modules/accounts.ts index aff28e0..b079c5c 100644 --- a/ts/modules/accounts.ts +++ b/ts/modules/accounts.ts @@ -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")} `; + } const dList = document.getElementById("accounts-announce-templates") as HTMLDivElement; dList.textContent = ''; for (let name of list) {