From c47d6af8b7ccef89aab63a54ce52bfe84421853c Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 26 Sep 2017 09:33:44 +0200 Subject: Avoid warning --- components/kube/contents/ui/LogView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components') 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 { } onCurrentItemChanged: { - details.resourceId = currentItem.currentData.resource + if (!!currentItem.currentData.resource) { + details.resourceId = currentItem.currentData.resource + } details.message = currentItem.currentData.message + "\n" + currentItem.currentData.details details.timestamp = currentItem.currentData.timestamp } -- cgit v1.2.3