mirror of
https://github.com/openstf/stf
synced 2025-10-04 18:29:17 +02:00
New devices-db doesn't have a image property.
This commit is contained in:
parent
e2c65a83fc
commit
2b7fa4479f
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ datautil.applyData = function(device) {
|
||||||
if (match) {
|
if (match) {
|
||||||
device.name = match.name.id
|
device.name = match.name.id
|
||||||
device.releasedAt = match.date
|
device.releasedAt = match.date
|
||||||
device.image = match.image.s.replace(/^small\//, '')
|
device.image = model + '.jpg'
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
log.warn(
|
log.warn(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue