From ee1638e1dda4437959fc7858dfce348fb455202f Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Mon, 17 Mar 2025 13:51:09 -0500 Subject: [PATCH] return null --- web/repertory/lib/models/mount.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/repertory/lib/models/mount.dart b/web/repertory/lib/models/mount.dart index a8e0962a..bcf7f94f 100644 --- a/web/repertory/lib/models/mount.dart +++ b/web/repertory/lib/models/mount.dart @@ -159,7 +159,8 @@ class Mount with ChangeNotifier { return null; } - return jsonDecode(response.body)['Location'] as String; + final location = jsonDecode(response.body)['Location'] as String; + return location.trim().isEmpty ? null : location; } catch (e) { debugPrint('$e'); }