Commit d3ba4af2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

ApplicationPage: Show only the first two licences

parent 862a1f5a
Pipeline #133133 passed with stage
in 56 seconds
......@@ -339,9 +339,7 @@ DiscoverPage {
spacing: 0
Repeater {
model: appInfo.application.licenses
// FIXME: make this work
// model: appInfo.application.licenses.length > 3 ? appInfo.application.firstTwoLicenses : appInfo.application.licenses
model: appInfo.application.licenses.slice(0, 2)
delegate: Kirigami.UrlButton {
Layout.fillWidth: true
enabled: url !== ""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment