Displaying differences for changeset
 
display as  

static/er2_303d_assess/js/actions/assessment_tracking.js

@@ -44,7 +44,7 @@
                 dispatch(appendToLogger([json]))
                 dispatch(
                     setMapMessage(
-                        "Failed to retrieve and update the specified Tracking. See logger.",
+                        "Failed to retrieve and update the specified tracking sheet. See logger.",
                     ),
                 )
             } else {

views.py

@@ -317,7 +317,8 @@
 @csrf_exempt
 @return_with_exception
 def load_assessment_registry(request):
-    return svcs.Tracking(request=request).get_registry_list()
+    ret = svcs.Tracking(request=request).get_registry_list()
+    return er2_api.respond({"ret": ret})
 
 
 @csrf_exempt