Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
d3ba4af2
Commit
d3ba4af2
authored
Feb 04, 2022
by
Aleix Pol Gonzalez
🐧
Browse files
ApplicationPage: Show only the first two licences
parent
862a1f5a
Pipeline
#133133
passed with stage
in 56 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
discover/qml/ApplicationPage.qml
View file @
d3ba4af2
...
...
@@ -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
!==
""
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment