Skip to content

Commit

Permalink
electron app fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cproof committed Sep 22, 2023
1 parent 01d8ec8 commit 365546c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/Opentest.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ function printTestData(testdata, target) {
ODF.classificationFormatter(testdata.lte_rsrp, "signal_strength", testdata.signal_classification, 'dBm', testdata.cat_technology.toLowerCase());
}

ODF.classificationFormatter(testdata.signal_strength, "signal_strength", testdata.signal_classification, 'dBm', testdata.cat_technology.toLowerCase().replaceAll("wlan","wlan4"));
ODF.classificationFormatter(testdata.signal_strength, "signal_strength", testdata.signal_classification, 'dBm', (testdata.cat_technology ? testdata.cat_technology.toLowerCase().replaceAll("wlan", "wlan4") : null));


//hint: function will deal with null values, but formatting has to be done beforhand
Expand Down

0 comments on commit 365546c

Please sign in to comment.