shx-3d-render
parent
bb1e740654
commit
98ed77c3cb
|
@ -1,5 +1,4 @@
|
||||||
{% assign content_type = content_type | default: 'body' %}
|
{% assign content_type = content_type | default: 'body' %}
|
||||||
{% assign section_id = section_id | default: 'null' unless section_id %}
|
|
||||||
|
|
||||||
{% if content_type == 'body' %}
|
{% if content_type == 'body' %}
|
||||||
|
|
||||||
|
@ -15,7 +14,7 @@
|
||||||
|
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
|
||||||
<shx-input-forms>
|
<shx-input-forms section_id="{{ section.id }}">
|
||||||
</shx-input-forms>
|
</shx-input-forms>
|
||||||
|
|
||||||
{% elsif content_type == 'init' %}
|
{% elsif content_type == 'init' %}
|
||||||
|
@ -120,6 +119,9 @@
|
||||||
this.container = null;
|
this.container = null;
|
||||||
|
|
||||||
this.uuid = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
this.uuid = Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
|
||||||
|
|
||||||
|
this.section_id = this.getAttribute('section_id');
|
||||||
|
console.log('section_id', this.section_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
connectedCallback() {
|
connectedCallback() {
|
||||||
|
|
Loading…
Reference in New Issue