From d289203d8387f84c93cf0f9fdd6f8f5cec3b6817 Mon Sep 17 00:00:00 2001 From: Patrick Niemeyer Date: Tue, 18 Jun 2024 16:41:23 -0500 Subject: [PATCH] app: Tweak the fix for the account parsing. --- gui-orchid/lib/vpn/orchid_vpn_config/js_config.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui-orchid/lib/vpn/orchid_vpn_config/js_config.dart b/gui-orchid/lib/vpn/orchid_vpn_config/js_config.dart index 701d8b7e3..97c1a4763 100644 --- a/gui-orchid/lib/vpn/orchid_vpn_config/js_config.dart +++ b/gui-orchid/lib/vpn/orchid_vpn_config/js_config.dart @@ -22,7 +22,7 @@ class JSConfig extends UserConfig { String? get(String expression) { var result = jsEngine.evaluate(expression).toString(); // Map undefined variable references to null - if (result == 'undefined' || + if (result == 'undefined' || result == 'null' || // // This api returns string error messages from the underlying JS engines. //