Skip to content

Commit

Permalink
chore: set measures if present in the device when update
Browse files Browse the repository at this point in the history
  • Loading branch information
paga16-hash committed Feb 1, 2024
1 parent d5c41c5 commit 5d5b273
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frontend/src/components/devices/UpdateDevicePopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ const resolutionFactory: ResolutionFactory = new ResolutionFactoryImpl()
const measures: ref<Measure[]> = ref([])
if(device.deviceId.type == DeviceType.SENSOR) {
measures.value = (device as Sensor).measures
}
const options = ref([
{
label: 'Temperature',
Expand Down

0 comments on commit 5d5b273

Please sign in to comment.