native: make infinity symbol work

This commit is contained in:
jopejoe1 2024-07-11 22:19:10 +02:00
parent 54b5730fcd
commit 359bfc5ced

View file

@ -167,9 +167,10 @@ Rectangle {
name: jsonResponse[i].licenses[ii].name, name: jsonResponse[i].licenses[ii].name,
start: jsonResponse[i].licenses[ii].start ?? "Indefinitely", start: jsonResponse[i].licenses[ii].start ?? "Indefinitely",
end: jsonResponse[i].licenses[ii].end ?? "Indefinitely", end: jsonResponse[i].licenses[ii].end ?? "Indefinitely",
amount: jsonResponse[i].licenses[ii].amount ?? "∞", amount: jsonResponse[i].licenses[ii].amount ? jsonResponse[i].licenses[ii].amount.toString() : "∞",
key: jsonResponse[i].licenses[ii].key key: jsonResponse[i].licenses[ii].key
}); });
} }
} }
filterModel() // Filter the model after loading data filterModel() // Filter the model after loading data