- Timestamp:
- 09/23/22 02:03:14 (2 years ago)
- Branches:
- master
- Children:
- 895cd87
- Parents:
- 436e0da
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
phonelux-frontend/src/components/CompareOffersComponent/CompareOffersComponent.js
r436e0da r48f3030 90 90 <th className='compare-offer-table-headers'>Цена</th> 91 91 { 92 this.state.offersToCompare.map((offer,idx) => <td key={idx}>{offer.price} </td>)92 this.state.offersToCompare.map((offer,idx) => <td key={idx}>{offer.price} ден.</td>) 93 93 } 94 94 </tr> 95 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("РАМ меморија") ? 95 96 <tr className='compare-offers-table-row'> 96 97 <th className='compare-offer-table-headers'>РАМ меморија</th> … … 99 100 offer.ram_memory == '' ? '/' : offer.ram_memory}</td>) 100 101 } 101 </tr> 102 </tr> : <></> 103 } 104 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("РОМ меморија") ? 102 105 <tr className='compare-offers-table-row'> 103 106 <th className='compare-offer-table-headers'>РОМ меморија</th> … … 106 109 offer.rom_memory == '' ? '/' : offer.rom_memory}</td>) 107 110 } 108 </tr> 111 </tr> : <></> 112 } 113 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Предна камера") ? 109 114 <tr className='compare-offers-table-row'> 110 115 <th className='compare-offer-table-headers'>Предна камера</th> … … 113 118 offer.front_camera == '' ? '/' : offer.front_camera}</td>) 114 119 } 115 </tr> 120 </tr> : <></> 121 } 122 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Задна камера") ? 116 123 <tr className='compare-offers-table-row'> 117 124 <th className='compare-offer-table-headers'>Задна камера</th> … … 120 127 offer.back_camera == '' ? '/' : offer.back_camera}</td>) 121 128 } 122 </tr> 129 </tr> : <></> 130 } 131 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Процесор") ? 123 132 <tr className='compare-offers-table-row'> 124 133 <th className='compare-offer-table-headers'>Процесор</th> … … 127 136 offer.cpu == '' ? '/' : offer.cpu}</td>) 128 137 } 129 </tr> 138 </tr> : <></> 139 } 140 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Чипсет") ? 130 141 <tr className='compare-offers-table-row'> 131 142 <th className='compare-offer-table-headers'>Чипсет</th> … … 134 145 offer.chipset == '' ? '/' : offer.chipset}</td>) 135 146 } 136 </tr> 147 </tr> : <></> 148 } 149 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Оперативен систем") ? 137 150 <tr className='compare-offers-table-row'> 138 151 <th className='compare-offer-table-headers'>Оперативен систем</th> … … 141 154 offer.operating_system == '' ? '/' : offer.operating_system}</td>) 142 155 } 143 </tr> 156 </tr> : <></> 157 } 158 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Батерија") ? 144 159 <tr className='compare-offers-table-row'> 145 160 <th className='compare-offer-table-headers'>Батерија</th> … … 148 163 offer.battery == '' ? '/' : offer.battery}</td>) 149 164 } 150 </tr> 165 </tr> : <></> 166 } 167 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Боја") ? 151 168 <tr className='compare-offers-table-row'> 152 169 <th className='compare-offer-table-headers'>Боја</th> … … 155 172 offer.color == '' ? '/' : offer.color}</td>) 156 173 } 157 </tr> 174 </tr> : <></> 175 } 158 176 </tbody> 159 177 </table>
Note:
See TracChangeset
for help on using the changeset viewer.