Skip to content

Commit a5a0f4b

Browse files
authored
Merge pull request #302 from cmu-delphi/sgratzl/customsignal
fix: support custom signals
2 parents 2a9e511 + 07d7bf8 commit a5a0f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const urlParams = new URLSearchParams(queryString);
2323
export const sensors = readable(sensorList, (set) => {
2424
const sensorsOption = urlParams.get('sensors');
2525
if (sensorsOption) {
26-
set(withSensorEntryKey(JSON.parse(decodeURIComponent(sensorsOption))));
26+
set(JSON.parse(decodeURIComponent(sensorsOption)).map(withSensorEntryKey));
2727
}
2828
});
2929

0 commit comments

Comments
 (0)