From a85492ac4948fd407fceb00715106747ebdc78ad Mon Sep 17 00:00:00 2001 From: Lauryn Menard Date: Mon, 1 May 2023 20:52:13 +0200 Subject: [PATCH] scheduled-messages: Remove unused `send_later_custom` template variable. In commit e89cbf0ac1fc5c34, the only use of this template variable was removed from `send_later_popover.hbs`. --- web/src/popover_menus.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/web/src/popover_menus.js b/web/src/popover_menus.js index a1c824f7be..4845bb3176 100644 --- a/web/src/popover_menus.js +++ b/web/src/popover_menus.js @@ -811,10 +811,6 @@ export function initialize() { }, }; - const send_later_custom = { - text: $t({defaultMessage: "Custom"}), - }; - function set_compose_box_schedule(element) { const send_later_in = element.id; const send_later_class = element.classList[0]; @@ -886,7 +882,6 @@ export function initialize() { render_send_later_modal({ possible_send_later_today, send_later_tomorrow, - send_later_custom, }), ); overlays.open_modal("send_later_modal", {