From cd9ad1e32221aa2e455c28fd4f873bf56ce0b319 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 15 Mar 2025 22:50:33 -0500 Subject: [PATCH] refactor --- web/repertory/lib/models/mount_list.dart | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/web/repertory/lib/models/mount_list.dart b/web/repertory/lib/models/mount_list.dart index fb0d8272..a2cca447 100644 --- a/web/repertory/lib/models/mount_list.dart +++ b/web/repertory/lib/models/mount_list.dart @@ -115,6 +115,11 @@ class MountList with ChangeNotifier { await constants.navigatorKey.currentState?.pushReplacementNamed('/'); } + displayErrorMessage( + constants.navigatorKey.currentContext!, + 'Mount removed externally. Reloading...', + ); + _mountList = []; notifyListeners();