From a79e696315c272682ac757763c83d75df0aed6d8 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 28 Feb 2025 20:43:15 -0600 Subject: [PATCH] fix --- web/repertory/lib/models/mount_list.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/repertory/lib/models/mount_list.dart b/web/repertory/lib/models/mount_list.dart index 86bc16ec..309cfb7d 100644 --- a/web/repertory/lib/models/mount_list.dart +++ b/web/repertory/lib/models/mount_list.dart @@ -12,7 +12,7 @@ class MountList with ChangeNotifier { MountConfig? item = _items.firstWhereOrNull( (cfg) => cfg.name == config.name, ); - if (item == null) { + if (item != null) { throw DuplicateMountException(name: config.name); }