feat!: handle Set at JSON serialization to string
[e-mobility-charging-stations-simulator.git] / ui / web / src / composables / UIClient.ts
index 781854dbb759fdfc542aa535573fa7f61eb1e606..fcbf191f3c9d2dabfc6fa6354359d703eb67e28b 100644 (file)
@@ -246,13 +246,15 @@ export class UIClient {
     }
 
     if (!Array.isArray(response)) {
-      useToast().error(`Response not an array`)
-      console.error(`Response not an array:`, response)
+      useToast().error('Response not an array')
+      console.error('Response not an array:', response)
       return
     }
 
     const [uuid, responsePayload] = response
 
+    console.log('responsePayload', responsePayload.state?.templateStatistics)
+
     if (this.responseHandlers.has(uuid)) {
       const { procedureName, resolve, reject } = this.responseHandlers.get(uuid)!
       switch (responsePayload.status) {