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.
1 parent e96a609 commit 07d7bf8Copy full SHA for 07d7bf8
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