Skip to content

Commit

Permalink
Fix correct device id
Browse files Browse the repository at this point in the history
  • Loading branch information
soulgalore committed Sep 6, 2024
1 parent 01e7736 commit 6b4beba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/views/includes/script.pug
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ script.
}

for (let setup of location.setup) {
if (setup.id) {
document.getElementById('deviceId').add(new Option(setup.id,setup.id), undefined);
if (setup.deviceId) {
document.getElementById('deviceId').add(new Option(setup.deviceId,setup.deviceId), undefined);
}
}
}
Expand Down

0 comments on commit 6b4beba

Please sign in to comment.