fix(webui): all libraries should show browse view by default

This commit is contained in:
Gauthier Roebroeck 2021-04-28 08:17:52 +08:00
parent 18e3e21f06
commit 3e1bf89bdb

View file

@ -29,7 +29,7 @@ const getLibraryRoute = (libraryId: string) => {
return 'browse-libraries'
case LIBRARY_ROUTE.RECOMMENDED:
default:
return 'recommended-libraries'
return libraryId === LIBRARIES_ALL ? 'browse-libraries' : 'recommended-libraries'
}
}