summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 09:07:12 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2018-03-02 12:03:04 +0100
commit795d551639340d81641aa8c6eabff1776e0b2ee1 (patch)
tree6b5399a790a3ebcbcb8cde069dfd2c31a468679d /views
parentf0b2dd171acd7c809325134f7c99a9cf03a214db (diff)
downloadkube-795d551639340d81641aa8c6eabff1776e0b2ee1.tar.gz
kube-795d551639340d81641aa8c6eabff1776e0b2ee1.zip
Ignore messages that have nothing to say.
Diffstat (limited to 'views')
-rw-r--r--views/log/qml/View.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/views/log/qml/View.qml b/views/log/qml/View.qml
index 7e95e20f..9b2ac24a 100644
--- a/views/log/qml/View.qml
+++ b/views/log/qml/View.qml
@@ -42,6 +42,10 @@ Controls.SplitView {
42 Kube.Listener { 42 Kube.Listener {
43 filter: Kube.Messages.notification 43 filter: Kube.Messages.notification
44 onMessageReceived: { 44 onMessageReceived: {
45 //Ignore noise that we can't usefully render anyways
46 if (!message.message) {
47 return
48 }
45 if (message.type == Kube.Notifications.error) { 49 if (message.type == Kube.Notifications.error) {
46 root.pendingError = true 50 root.pendingError = true
47 } 51 }