- 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/PhoneOfferDetailsComponent/PhoneOfferDetailsComponent.js
r436e0da r48f3030 106 106 this.state.offer.price == null ? '/' : this.state.offer.price+' ден.'}</td> 107 107 </tr> 108 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Предна камера") ? 108 109 <tr className='phone-offer-details-table-row'> 109 110 <td>Предна камера</td><td>{this.state.offer == null || 110 111 this.state.offer.front_camera == null ? '/' : this.state.offer.front_camera}</td> 111 </tr> 112 </tr> : <></> 113 } 112 114 115 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Задна камера") ? 113 116 <tr className='phone-offer-details-table-row'> 114 117 <td>Задна камера</td><td>{this.state.offer == null || 115 118 this.state.offer.back_camera == null ? '/' : this.state.offer.back_camera}</td> 116 </tr> 119 </tr> : <></> 120 } 117 121 122 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("РОМ меморија") ? 118 123 <tr className='phone-offer-details-table-row'> 119 124 <td>РОМ меморија</td><td>{this.state.offer == null || 120 125 this.state.offer.rom_memory == null ? '/' : this.state.offer.rom_memory}</td> 121 </tr> 126 </tr> : <></> 127 } 122 128 129 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("РАМ меморија") ? 123 130 <tr className='phone-offer-details-table-row'> 124 131 <td>РАМ меморија</td><td>{this.state.offer == null || 125 132 this.state.offer.ram_memory == null ? '/' : this.state.offer.ram_memory}</td> 126 </tr> 133 </tr> : <></> 134 } 127 135 136 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Оперативен систем") ? 128 137 <tr className='phone-offer-details-table-row'> 129 138 <td>Оперативен систем</td><td>{this.state.offer == null || 130 139 this.state.offer.operating_system == null ? '/' : this.state.offer.operating_system}</td> 131 </tr> 140 </tr> : <></> 141 } 132 142 143 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Чипсет") ? 133 144 <tr className='phone-offer-details-table-row'> 134 145 <td>Чипсет</td><td>{this.state.offer == null || 135 146 this.state.offer.chipset == null ? '/' : this.state.offer.chipset}</td> 136 </tr> 147 </tr> : <></> 148 } 137 149 150 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Процесор") ? 138 151 <tr className='phone-offer-details-table-row'> 139 152 <td>Процесор</td><td>{this.state.offer == null || 140 153 this.state.offer.cpu == null ? '/' : this.state.offer.cpu}</td> 141 </tr> 154 </tr> : <></> 155 } 142 156 157 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Батерија") ? 143 158 <tr className='phone-offer-details-table-row'> 144 159 <td>Батерија</td><td>{this.state.offer == null || 145 160 this.state.offer.battery == null ? '/' : this.state.offer.battery}</td> 146 </tr> 161 </tr> : <></> 162 } 147 163 164 { !localStorage.getItem('pickedSpecifications') || localStorage.getItem('pickedSpecifications').includes("Боја") ? 148 165 <tr className='phone-offer-details-table-row'> 149 166 <td>Боја</td><td>{this.state.offer == null || 150 167 this.state.offer.color == null ? '/' : this.state.offer.color}</td> 151 </tr> 168 </tr> : <></> 169 } 152 170 153 171 <tr className='phone-offer-details-table-row'>
Note:
See TracChangeset
for help on using the changeset viewer.