Commit 1ab28577 authored by Timothée Ravier's avatar Timothée Ravier
Browse files

discover: Do not try to show empty reviews

parent a4521e97
Pipeline #147408 passed with stage
in 59 seconds
......@@ -30,7 +30,7 @@ Kirigami.OverlaySheet
}
QQC2.Label {
Kirigami.FormData.label: i18n("Name:")
visible: reviewDialog.backend.userName.length > 0
visible: page.reviewsBackend !== null && reviewDialog.backend.userName.length > 0
Layout.fillWidth: true
elide: Text.ElideRight
text: visible ? reviewDialog.backend.userName : ""
......
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