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'); }