diff options
-rw-r--r-- | components/kube/qml/Kube.qml | 4 | ||||
-rw-r--r-- | views/log/qml/View.qml | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/components/kube/qml/Kube.qml b/components/kube/qml/Kube.qml index 34c2a59e..3a970733 100644 --- a/components/kube/qml/Kube.qml +++ b/components/kube/qml/Kube.qml | |||
@@ -82,7 +82,9 @@ Controls2.ApplicationWindow { | |||
82 | Kube.Listener { | 82 | Kube.Listener { |
83 | filter: Kube.Messages.notification | 83 | filter: Kube.Messages.notification |
84 | onMessageReceived: { | 84 | onMessageReceived: { |
85 | notificationPopup.notify(message.message); | 85 | if (message.message) { |
86 | notificationPopup.notify(message.message); | ||
87 | } | ||
86 | } | 88 | } |
87 | } | 89 | } |
88 | 90 | ||
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 | } |