From 12439f73eb0c3dcc3e6c24e45059a8de18a966ce Mon Sep 17 00:00:00 2001 From: Cameron Thompson <50184035+iamromulan@users.noreply.github.com> Date: Sun, 5 May 2024 01:57:34 -0400 Subject: [PATCH] Update index.html Co-Authored-By: Russel Yasol <73575327+dr-dolomite@users.noreply.github.com> --- simpleadmin/www/index.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/simpleadmin/www/index.html b/simpleadmin/www/index.html index 607b316..72bfa97 100644 --- a/simpleadmin/www/index.html +++ b/simpleadmin/www/index.html @@ -618,7 +618,9 @@ if (networkMode1 === '"NR5G-SA"') { this.network_mode = networkMode1; this.network_mode = this.network_mode.replace(/"/g, ""); - } else { + } + + else { let networkMode2, networkMode3; if ( @@ -627,8 +629,8 @@ lines[27] !== "" && lines[27] !== "/r" ) { - // Check if lines[27] doesnt have NOCONN - if (lines[27].match(/servingcell/) === null) { + // Check if lines[27] doesnt have TDD or FDD + if (lines[27].match(/FDD/) != null || lines[27].match(/TDD/) != null) { networkMode2 = lines[27].split(",")[2].replace(/"/g, ""); networkMode2 = networkMode2.split(",")[0].trim(); console.log(networkMode2);