Comparison

mod_debug_omemo/view.tpl.html @ 4686:76af816739f3

mod_debug_omemo: Fix traceback in case of zero devices Turns out ipairs(nil) in Lua 5.4 does not throw until the first iterator.
author Kim Alvefur <zash@zash.se>
date Mon, 13 Sep 2021 21:47:01 +0200
parent 4683:d3080767ead3
child 4687:41ddb782320c
comparison
equal deleted inserted replaced
4685:07b6f444bafb 4686:76af816739f3
209 <th>Status</th> 209 <th>Status</th>
210 <th>Bundle</th> 210 <th>Bundle</th>
211 <th>Access</th> 211 <th>Access</th>
212 </tr> 212 </tr>
213 {omemo.devices%<tr> 213 {omemo.devices%<tr>
214 <td>{idx}</td> 214 <td>{idx?<i>N/A</i>}</td>
215 <td>{item.status}</td> 215 <td>{item.status?<i>N/A</i>}</td>
216 <td>{item.bundle}</td> 216 <td>{item.bundle?<i>N/A</i>}</td>
217 <td>{item.access_model}</td> 217 <td>{item.access_model?<i>N/A</i>}</td>
218 </tr>} 218 </tr>}
219 </table> 219 </table>
220 </div> 220 </div>
221 </body> 221 </body>
222 </html> 222 </html>