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:
Rishabh 2021-06-11 12:38:02 +05:30
parent 8d51bc20f0
commit 5ebfbb79a7

View File

@ -141,7 +141,7 @@ export function hasMultipleProducts({site = {}}) {
const {
products = []
} = site || {};
if (products?.length > 0) {
if (products?.length > 1) {
return true;
}
return false;