Put the music library last in the list (less used than genre filtering)

This commit is contained in:
emeric
2024-05-02 13:33:07 +02:00
parent dd5dfaa96e
commit 0ccba8f0b3
+2 -1
View File
@@ -47,7 +47,6 @@ namespace lms::ui
std::unique_ptr<TypeModel> createTypeModel()
{
auto typeModel{ std::make_unique<TypeModel>() };
typeModel->add(Wt::WString::tr("Lms.Explore.media-library"), MediaLibraryTag{});
auto transaction{ LmsApp->getDbSession().createReadTransaction() };
@@ -56,6 +55,8 @@ namespace lms::ui
typeModel->add(Wt::WString::fromUTF8(std::string{ clusterType->getName() }), clusterType->getId());
});
typeModel->add(Wt::WString::tr("Lms.Explore.media-library"), MediaLibraryTag{});
return typeModel;
}