From f8fa5d8afa03f17e7a7da78bbc98733bf417c358 Mon Sep 17 00:00:00 2001 From: frytimo Date: Wed, 25 Jun 2025 14:18:56 -0300 Subject: [PATCH] update row when domain is adjusted (#7396) --- app/active_calls/active_calls.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/active_calls/active_calls.php b/app/active_calls/active_calls.php index 52c874b193..b251039504 100644 --- a/app/active_calls/active_calls.php +++ b/app/active_calls/active_calls.php @@ -849,6 +849,7 @@ echo "\n"; //set values const uuid = call.unique_id; + const row = document.getElementById(uuid); const caller_channel_name = call?.caller_channel_name.split('/')[1] ?? ''; @@ -878,6 +879,10 @@ echo "\n"; update_call_element(`caller_context_${uuid}`, caller_context); + //check if the context changes to this domain + if (caller_context === '') { + row.style.display = 'table-row'; + } update_call_element(`caller_id_name_${uuid}`, caller_caller_id_name); update_call_element(`caller_id_number_${uuid}`, caller_caller_id_number);