We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b869ce commit e356287Copy full SHA for e356287
1 file changed
client/web/compose/src/components/PageBlocks/RecordConfigurator.vue
@@ -118,7 +118,7 @@
118
</b-row>
119
120
<b-row
121
- v-if="isRecordConfigured"
+ v-if="isRecordFieldUsedConfigured"
122
class="mt-3"
123
>
124
<b-col
@@ -342,8 +342,12 @@ export default {
342
},
343
344
345
- isRecordConfigured () {
346
- return this.options.fields.some(f => f.kind === 'Record')
+ isRecordFieldUsedConfigured () {
+ if (this.options.fields.length === 0) {
347
+ return this.module.fields.some(f => f.kind === 'Record')
348
+ } else {
349
+ return this.options.fields.some(f => f.kind === 'Record')
350
+ }
351
352
353
0 commit comments