We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a9e511 + 07d7bf8 commit a5a0f4bCopy full SHA for a5a0f4b
src/stores/index.js
@@ -23,7 +23,7 @@ const urlParams = new URLSearchParams(queryString);
23
export const sensors = readable(sensorList, (set) => {
24
const sensorsOption = urlParams.get('sensors');
25
if (sensorsOption) {
26
- set(withSensorEntryKey(JSON.parse(decodeURIComponent(sensorsOption))));
+ set(JSON.parse(decodeURIComponent(sensorsOption)).map(withSensorEntryKey));
27
}
28
});
29
0 commit comments