mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-01-13 15:37:03 +00:00
Fixed issue where price graph disappears
This commit is contained in:
parent
be9b7a16e4
commit
28a6a62907
2
lib/SvelteUi/app/dist/index.js
vendored
2
lib/SvelteUi/app/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -57,7 +57,7 @@ export const dataStore = readable(data, (set) => {
|
||||
lastTemp = data.t;
|
||||
setTimeout(getTemperatures, 2000);
|
||||
}
|
||||
if(lastPrice == null && data.pe && data.p) {
|
||||
if(lastPrice == null && data.pe && data.p != null) {
|
||||
lastPrice = data.p;
|
||||
getPrices();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user