Skip to content
GitLab
Menu
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
1d6bbd30
Commit
1d6bbd30
authored
Apr 15, 2021
by
Aleix Pol Gonzalez
🐧
Browse files
ApplicationDelegate: Be sensitive to backends without a reviews backend
parent
95afc5ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
discover/qml/ApplicationDelegate.qml
View file @
1d6bbd30
...
...
@@ -106,7 +106,7 @@ Kirigami.AbstractCard
Label
{
Layout.fillWidth
:
true
text
:
delegateArea
.
application
.
rating
?
i18np
(
"
%1 rating
"
,
"
%1 ratings
"
,
delegateArea
.
application
.
rating
.
ratingCount
)
:
i18n
(
"
No ratings yet
"
)
visible
:
delegateArea
.
application
.
rating
||
delegateArea
.
application
.
backend
.
reviewsBackend
.
isResourceSupported
(
delegateArea
.
application
)
visible
:
delegateArea
.
application
.
rating
||
(
delegateArea
.
application
.
backend
.
reviewsBackend
&&
delegateArea
.
application
.
backend
.
reviewsBackend
.
isResourceSupported
(
delegateArea
.
application
)
)
opacity
:
0.5
elide
:
Text
.
ElideRight
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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