Skip to content

Commit

Permalink
Avoid warning about undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
cmollekopf committed Jul 6, 2018
1 parent 8b2eec7 commit 8773b0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/log/qml/View.qml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Controls1.SplitView {
property string resourceId: details.resourceId
property string accountId: retriever.currentData ? retriever.currentData.accountId : ""
property string accountName: retriever.currentData ? retriever.currentData.name : ""
property string entityId: details.entities.length != 0 ? details.entities[0] : ""
property string entityId: (details.entities && details.entities.length != 0) ? details.entities[0] : ""

function getComponent(subtype) {
if (subtype == Kube.Notifications.loginError) {
Expand Down

0 comments on commit 8773b0d

Please sign in to comment.