summaryrefslogtreecommitdiffstats
path: root/components
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-26 09:33:44 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-09-26 09:33:44 +0200
commitc47d6af8b7ccef89aab63a54ce52bfe84421853c (patch)
treec610c6d8e63e4c56814b879a0bb429b2b2e28a3a /components
parent9a63ad6df1c6ac16b79cd751862350b612f84d48 (diff)
downloadkube-c47d6af8b7ccef89aab63a54ce52bfe84421853c.tar.gz
kube-c47d6af8b7ccef89aab63a54ce52bfe84421853c.zip
Avoid warning
Diffstat (limited to 'components')
-rw-r--r--components/kube/contents/ui/LogView.qml4
1 files changed, 3 insertions, 1 deletions
diff --git a/components/kube/contents/ui/LogView.qml b/components/kube/contents/ui/LogView.qml
index 7841a4b3..4a4befd1 100644
--- a/components/kube/contents/ui/LogView.qml
+++ b/components/kube/contents/ui/LogView.qml
@@ -56,7 +56,9 @@ Controls.SplitView {
56 } 56 }
57 57
58 onCurrentItemChanged: { 58 onCurrentItemChanged: {
59 details.resourceId = currentItem.currentData.resource 59 if (!!currentItem.currentData.resource) {
60 details.resourceId = currentItem.currentData.resource
61 }
60 details.message = currentItem.currentData.message + "\n" + currentItem.currentData.details 62 details.message = currentItem.currentData.message + "\n" + currentItem.currentData.details
61 details.timestamp = currentItem.currentData.timestamp 63 details.timestamp = currentItem.currentData.timestamp
62 } 64 }