diff --git a/native/MainPage.qml b/native/MainPage.qml index 4f7a33b..23687a3 100644 --- a/native/MainPage.qml +++ b/native/MainPage.qml @@ -167,9 +167,10 @@ Rectangle { name: jsonResponse[i].licenses[ii].name, start: jsonResponse[i].licenses[ii].start ?? "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 }); + } } filterModel() // Filter the model after loading data