mirror of
https://github.com/cmclark00/retro-imager.git
synced 2025-05-18 07:55:21 +01:00
qml: main: Don't duplicate (Recommends)
This commit is contained in:
parent
cf8c4bc66d
commit
094142ae8e
1 changed files with 5 additions and 1 deletions
|
@ -1618,7 +1618,11 @@ ApplicationWindow {
|
||||||
if (oslist_parsed.length != 0) {
|
if (oslist_parsed.length != 0) {
|
||||||
var candidate = oslist_parsed[0]
|
var candidate = oslist_parsed[0]
|
||||||
|
|
||||||
if ("description" in candidate && !("subitems" in candidate)) {
|
if ("description" in candidate &&
|
||||||
|
!("subitems" in candidate) &&
|
||||||
|
!candidate["description"].includes("(Recommended)")
|
||||||
|
)
|
||||||
|
{
|
||||||
candidate["description"] += " (Recommended)"
|
candidate["description"] += " (Recommended)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue