fix dynamic thumb for mme+rating filter

This commit is contained in:
2026-05-26 21:19:14 +02:00
parent 9732b30aa5
commit 8693e16802

View File

@@ -280,10 +280,10 @@ export default {
row.xd_label = meta.label; row.xd_label = meta.label;
} }
// Dynamic thumb sizing: only on the unfiltered main feed. // Dynamic thumb sizing: applies to the main feed including mime/rating filters.
// Profile pages, tag searches, halls, favorites, mime filters all use tier 1 (1×1). // Only per-user profiles, tag searches, halls, and favorites disable it.
const isMainFeed = cfg.websrv.enable_dynamic_thumbs const isMainFeed = cfg.websrv.enable_dynamic_thumbs
&& !rawUser && !rawTag && !rawHall && !rawUserHall && !rawMime && !fav; && !rawUser && !rawTag && !rawHall && !rawUserHall && !fav;
if (isMainFeed) { if (isMainFeed) {
for (const row of rows) { for (const row of rows) {