let arr = arr_old.reduce((a=[], b, i, array)=>{ if(b.offer_type === '1'){ return [...a, Object.assign({}, b, { user_name: `${b.user_name}`, loading: false }) ] } else return a },[])