@@ -79,7 +79,6 @@ export default {
79
79
mqttTopicsToSubscribe: [
80
80
" openWB/system/messages/+" ,
81
81
" openWB/command/" + this .$root .mqttClientId + " /messages/+" ,
82
- " openWB/command/" + this .$root .mqttClientId + " /error" ,
83
82
],
84
83
showAllMessages: false ,
85
84
hiddenMessages: [],
@@ -109,23 +108,6 @@ export default {
109
108
},
110
109
messages () {
111
110
const myMessages = [];
112
- if (this .alertData ) {
113
- myMessages .push ({
114
- topic:
115
- " openWB/command/" + this .$root .mqttClientId + " /error" ,
116
- source: " command" ,
117
- type: " danger" ,
118
- message:
119
- ' Bei der Verarbeitung des Befehls \' <span class="font-weight-bold">' +
120
- this .alertData .command +
121
- " </span>' mit den Parametern '<span class=\" font-weight-bold\" >" +
122
- this .alertData .data +
123
- " </span>' ist ein Fehler aufgetreten:<br />" +
124
- " <pre class='font-weight-bold'>" +
125
- this .alertData .error +
126
- " </pre>" ,
127
- });
128
- }
129
111
this .systemMessages .forEach ((message ) => {
130
112
myMessages .push (message);
131
113
});
@@ -150,11 +132,6 @@ export default {
150
132
/**
151
133
* get initial error message
152
134
*/
153
- alertData () {
154
- return this .$store .state .mqtt [
155
- " openWB/command/" + this .$root .mqttClientId + " /error"
156
- ];
157
- },
158
135
systemMessages () {
159
136
let messageTopics = this .getWildcardTopics (
160
137
" openWB/system/messages/+" ,
@@ -187,14 +164,6 @@ export default {
187
164
clearTopic (topic ) {
188
165
this .$root .doPublish (topic, undefined );
189
166
},
190
- /**
191
- * Removes client specific error topic from broker
192
- */
193
- dismissError () {
194
- this .clearTopic (
195
- " openWB/command/" + this .$root .mqttClientId + " /error" ,
196
- );
197
- },
198
167
/**
199
168
* Removes system or client specific topics from broker
200
169
*/
0 commit comments