diff --git a/api/v1/serializers/mixins.py b/api/v1/serializers/mixins.py
index 40584503..cfddefd5 100644
--- a/api/v1/serializers/mixins.py
+++ b/api/v1/serializers/mixins.py
@@ -115,7 +115,7 @@ class DispatchContentMixin(object):
setattr(g, obj_type, obj)
g.save()
if 'images' in cdata:
- for image in cdata['images']:
+ for image in cdata['gallery_images']:
if 'img' in image and image['img']:
if 'id' in image and image['id']:
gi = GalleryImage.objects.get(id=image['id'])
diff --git a/project/templates/blocks/lil_store_js.html b/project/templates/blocks/lil_store_js.html
index c67073a5..25600834 100644
--- a/project/templates/blocks/lil_store_js.html
+++ b/project/templates/blocks/lil_store_js.html
@@ -6,6 +6,7 @@
isMobile: {{ request.user_agent.is_mobile|yesno:"true,false" }},
user: {
id: '{{ request.user.id|default:'' }}',
- }
+ },
+ components: {}
};
diff --git a/project/templates/lilcity/edit_index.html b/project/templates/lilcity/edit_index.html
index 18be67aa..70691489 100644
--- a/project/templates/lilcity/edit_index.html
+++ b/project/templates/lilcity/edit_index.html
@@ -316,12 +316,12 @@
{% include 'templates/blocks/lil_store_js.html' %}
-
{% block foot %}{% endblock foot %}
+