From fb8ee96b2171e3be3207bc850650e83ebe65d7e5 Mon Sep 17 00:00:00 2001 From: Eli Ribble Date: Tue, 10 Mar 2026 16:20:28 +0000 Subject: [PATCH] Don't populate communications with fake data --- html/template/sync/communication-root.html | 38 +--------------------- 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/html/template/sync/communication-root.html b/html/template/sync/communication-root.html index 3f6fff08..32f9932a 100644 --- a/html/template/sync/communication-root.html +++ b/html/template/sync/communication-root.html @@ -61,43 +61,7 @@ toastTitle: "", toastMessage: "", - // Sample data - replace with API call - communications: [ - { - created: new Date(Date.now() - 2 * 60 * 60 * 1000), // 2 hours ago - id: 1001, - public_report: { - address: { - postal_code: "32801", - }, - location: { - latitude: 28.5383, - longitude: -81.3792, - }, - reporter: { - name: "John Smith", - has_email: true, - }, - tod_evening: true, - }, - type: "nuisance", - - timeOfDay: "Evening (6pm - 9pm)", - propertyAreas: ["Backyard", "Pool Area"], - notes: - "Mosquitoes have been extremely bad for the past week. Cannot enjoy outdoor activities anymore. They seem to be coming from the drainage ditch behind our property.", - photos: [ - "https://via.placeholder.com/400x300/cccccc/666666?text=Photo+1", - "https://via.placeholder.com/400x300/cccccc/666666?text=Photo+2", - ], - history: [ - { - action: "Report created", - timestamp: new Date(Date.now() - 2 * 60 * 60 * 1000), - }, - ], - }, - ], + communications: [], init() { this.loadFromAPI();