File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -717,7 +717,7 @@ async function fetchSystems() {
717717 const { success, result, message} = await resp . json ( ) ;
718718 if ( ! success ) throw new Error ( message || "API error" ) ;
719719
720- els . sysSel . innerHTML = '<option value="">Select system… </option>' ;
720+ els . sysSel . innerHTML = '<option value="">All Systems </option>' ;
721721 result . forEach ( sys => {
722722 const opt = document . createElement ( "option" ) ;
723723 opt . value = sys . radio_system_id ;
@@ -1011,10 +1011,10 @@ async function onRowClick(e) {
10111011 7) PAGE-LEVEL ORCHESTRATION (filters, timers, validation)
10121012 ==================================================================== */
10131013
1014- /** Load calls if a system is selected; else clear table . */
1014+ /** Load calls for selected system (or all if none selected) . */
10151015function maybeLoad ( ) {
10161016 if ( ! table ) return ;
1017- els . sysSel . value ? loadCalls ( ) : table . clear ( ) . draw ( ) ;
1017+ loadCalls ( ) ; // Load all systems if no selection
10181018 applyRefreshInterval ( ) ;
10191019}
10201020
@@ -1027,7 +1027,7 @@ function applyRefreshInterval() {
10271027 const ms = Number ( els . autoRef . value ) || 0 ;
10281028 if ( ms > 0 ) {
10291029 refreshTimer = setInterval ( ( ) => {
1030- if ( els . sysSel . value ) loadCalls ( ) ;
1030+ loadCalls ( ) ; // Works with all systems too
10311031 } , ms ) ;
10321032 }
10331033}
You can’t perform that action at this time.
0 commit comments