mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-08 02:52:39 -05:00
Fixed multiple products check helper method
no refs - fixes incorrect condition in helper that determines if Portal has multiple products or single from site
This commit is contained in:
parent
8d51bc20f0
commit
5ebfbb79a7
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ export function hasMultipleProducts({site = {}}) {
|
|||
const {
|
||||
products = []
|
||||
} = site || {};
|
||||
if (products?.length > 0) {
|
||||
if (products?.length > 1) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue