add an or case

This commit is contained in:
Ismaël Moret 2024-12-18 19:11:37 +01:00 committed by GitHub
parent 07eadd7c93
commit 6677161431
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ module.exports = {
programs.push({
title: item.title?.[0]?.value,
description: item.desc?.[0]?.value,
icon: item.icon?.[0]?.src,
icon: item.icon?.[0]?.src || item.icon?.[0],
start: item.start,
stop: item.stop
})