From 3bb4ea565e6e891c751a078e2ec52aa021516467 Mon Sep 17 00:00:00 2001 From: Alberto Paganelli Date: Thu, 1 Feb 2024 17:16:00 +0100 Subject: [PATCH] style: format --- frontend/src/components/devices/UpdateDevicePopup.vue | 2 +- frontend/src/components/security-rule/NewSecurityRulePopup.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/devices/UpdateDevicePopup.vue b/frontend/src/components/devices/UpdateDevicePopup.vue index 6a22df86b..c34bf2471 100644 --- a/frontend/src/components/devices/UpdateDevicePopup.vue +++ b/frontend/src/components/devices/UpdateDevicePopup.vue @@ -20,7 +20,7 @@ const resolutionFactory: ResolutionFactory = new ResolutionFactoryImpl() const measures: ref = ref([]) -if(device.deviceId.type == DeviceType.SENSOR) { +if (device.deviceId.type == DeviceType.SENSOR) { measures.value = (device as Sensor).measures } diff --git a/frontend/src/components/security-rule/NewSecurityRulePopup.vue b/frontend/src/components/security-rule/NewSecurityRulePopup.vue index fb09c71b8..f164201a6 100644 --- a/frontend/src/components/security-rule/NewSecurityRulePopup.vue +++ b/frontend/src/components/security-rule/NewSecurityRulePopup.vue @@ -90,7 +90,7 @@ const getSensorCodes = async () => { const optionsContacts: ref<{ label: string; value: string }> = ref([]) const getContacts = async () => { - console.log("TOKEN") + console.log('TOKEN') console.log(useUserStore().userId) await RequestHelper.get(`http://${authHost}:${authPort}/users/${useUserStore().userId}`) .then((res: any) => {