From 67a669ee173da165723b5855194f4eba45c246eb Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sat, 15 Mar 2025 13:24:36 -0500 Subject: [PATCH] refactor --- 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 745958bf..fb0d8272 100644 --- a/web/repertory/lib/models/mount_list.dart +++ b/web/repertory/lib/models/mount_list.dart @@ -112,7 +112,7 @@ class MountList with ChangeNotifier { if (constants.navigatorKey.currentContext == null || ModalRoute.of(constants.navigatorKey.currentContext!)?.settings.name != '/') { - constants.navigatorKey.currentState?.pushReplacementNamed('/'); + await constants.navigatorKey.currentState?.pushReplacementNamed('/'); } _mountList = [];