Showing
1 changed file
with
2 additions
and
1 deletions
... | ... | @@ -191,7 +191,8 @@ |
191 | 191 | const updateFn: DataFetchUpdateFn = (message, attribute) => { |
192 | 192 | const { data = {} } = message; |
193 | 193 | const [latest] = data[attribute] || []; |
194 | - const [_, value] = latest; | |
194 | + const [name, value] = latest; | |
195 | + if (!name && !value) return; | |
195 | 196 | noSendValue.value = getNumberValue(value); |
196 | 197 | sliderValue.value = getNumberValue(value); |
197 | 198 | }; | ... | ... |