Skip to content

🎧 Your Personal Streaming Service

Fix default getPerPage for 'md' widths

Steve Richterb8d47d1db416
diff --git a/ui/src/common/useAlbumsPerPage.js b/ui/src/common/useAlbumsPerPage.js
index 316593f30..5e1ec51c3 100644
--- a/ui/src/common/useAlbumsPerPage.js
+++ b/ui/src/common/useAlbumsPerPage.js
@@ -4,7 +4,7 @@ import get from 'lodash.get'
const getPerPage = (width) => {
if (width === 'xs') return 12
if (width === 'sm') return 12
- if (width === 'md') return 15
+ if (width === 'md') return 12
if (width === 'lg') return 18
return 36
}