We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcb9f15 + c113bc1 commit c7f9b72Copy full SHA for c7f9b72
src/templates/main-body-template.js
@@ -113,13 +113,17 @@ export default function mainBodyTemplate() {
113
? this.renderStyle === 'read'
114
? expandedEndpointTemplate.call(this)
115
: this.renderStyle === 'focused'
116
- ? focusedEndpointTemplate.call(this)
+ ? this.selectedContentId.startsWith('cmp-')
117
+ ? componentsTemplate.call(this)
118
+ : focusedEndpointTemplate.call(this)
119
: endpointTemplate.call(this)
120
: ''
121
}
122
</div>
123
- ${this.showComponents === 'true' ? componentsTemplate.call(this) : ''}
124
+ ${this.showComponents === 'true' && this.renderStyle !== 'focused'
125
126
+ : ''}
127
`
128
129
0 commit comments