Skip to content
Snippets Groups Projects
Commit 7aeab40d authored by smtw's avatar smtw
Browse files

fix: components sample rooms needs slug key

parent 94beb942
Branches
No related tags found
No related merge requests found
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
{% set assembly2 = {"id": "2", "name": "assembly example 2 - official", "slug": "assembly_slug2", "is_official": true, "banner_image": {"url": image_url}, "description": "Lorem Ipsum ..." } %} {% set assembly2 = {"id": "2", "name": "assembly example 2 - official", "slug": "assembly_slug2", "is_official": true, "banner_image": {"url": image_url}, "description": "Lorem Ipsum ..." } %}
{% set assemblies = [ assembly1, assembly2, assembly1, assembly2, assembly1, assembly2 ] %} {% set assemblies = [ assembly1, assembly2, assembly1, assembly2, assembly1, assembly2 ] %}
{% set room1 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7d9", "name": "room example 1", "room_type": "bbb", "capacity": 42, "occupants": 23 } %} {% set room1 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7d9", "name": "room example 1", "slug":"abc", "room_type": "bbb", "capacity": 42, "occupants": 23 } %}
{% set room2 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7a5", "name": "room example 2", "room_type": "workshop", "capacity": 42 } %} {% set room2 = {"id": "8387a222-536d-4bb6-b15a-9b3688fda7a5", "name": "room example 2", "slug":"abcd", "room_type": "workshop", "capacity": 42 } %}
{% set rooms = [ room1, room2 ] %} {% set rooms = [ room1, room2 ] %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment