diff --git a/src/index.ts b/src/index.ts index fbc96df..9282c18 100644 --- a/src/index.ts +++ b/src/index.ts @@ -184,7 +184,6 @@ const favorites: JupyterFrontEndPlugin = { const favorite = args.favorite as IFavorites.Favorite; const path = favorite.path === '' ? '/' : favorite.path; await commands.execute('filebrowser:open-path', { path }); - favoritesManager.removeFavoriteIfInvalid(favorite); }, label: (args) => { const favorite = args.favorite as IFavorites.Favorite;