mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-11-09 23:06:45 +00:00
Show update info from OTAs if there's no info for FULL.
This commit is contained in:
parent
dbef575009
commit
a4d16906f2
@ -58,6 +58,10 @@ document.addEventListener 'DOMContentLoaded', (event) ->
|
||||
fromList = fromList[0..2]
|
||||
fromListText = (fromList.join ', ') + " + #{fromMore} more"
|
||||
otaInfo = "✔️ (from #{fromListText})"
|
||||
for v in vermeta['OTA']
|
||||
if v['note']['en'] and updateText is ''
|
||||
updateText = '(' + v['fv'] + ' to ' + v['tv'] + ') '
|
||||
updateText += v['note']['en'].replace /\n/g, '<br/>'
|
||||
else
|
||||
otaInfo = "❌"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user