- Aggiornamento dal DB di GM al DB Locale
This commit is contained in:
@@ -22,7 +22,8 @@ import { CSelectUserActive } from '@src/components/CSelectUserActive'
|
||||
import type {
|
||||
IOptCatalogo, IDimensioni, IFilterCatalogo,
|
||||
IMyScheda, IProdView, IProduct, ISchedaSingola, ISearchList, ICatalog, IImg,
|
||||
IText
|
||||
IText,
|
||||
ICollana,
|
||||
} from 'model';
|
||||
import {
|
||||
IMyPage,
|
||||
@@ -444,7 +445,7 @@ export default defineComponent({
|
||||
filtroProductTypes: number[],
|
||||
filtroExcludeProductTypes: number[],
|
||||
editore: string[],
|
||||
idCollane: number[],
|
||||
idCollane: ICollana[],
|
||||
arrargomstr: any[],
|
||||
catstr: string,
|
||||
gasselstr: string,
|
||||
@@ -504,7 +505,7 @@ export default defineComponent({
|
||||
// Filtri per collana
|
||||
const hasCollana = boolfiltroVuotoCollane
|
||||
? true
|
||||
: idCollane.includes(product.productInfo.idCollana);
|
||||
: (idCollane || []).some((item: ICollana) => product.productInfo.idCollana === item.idCollana)
|
||||
|
||||
// Filtri per GAS
|
||||
const productgassel = !gasselstr || (cosaValue === shared_consts.PROD.GAS && product.idGasordine === gasselstr);
|
||||
|
||||
Reference in New Issue
Block a user