Spaces:
Running
fix: recent-product ring rows now reach the field + hide 'mới' row during queries
Two bugs fixed:
TL869IMAX and other newly added products never appeared in the neon front row on page entry — the delivered round-5 bundle had an ordering bug:
o.unshift(...s)(interiors copied to output) ran BEFORE recentProducts were unshifted intos, so by the time the recent products were added tos, the outputohad already been built froms. The recent products never reached the field. The fixed bundle now builds the recentProducts ring list FIRST, prepends it intofresh, then unshifts once.Product searches still showed the neon 'mới' interior row — while
queryis non-empty, the newest-interiors ring row is now hidden entirely, so searching "eurogold", "kệ xoong nồi", "máy hút mùi" returns ONLY product/interior hits that match, no decoration row.
Files:
dist/assets/index.js(minified bundle, fixedqeordering + query gate)src/merge.js(source mirror of the same logic for future rebuilds)