Skip to content

Commit

Permalink
Merge pull request #4240 from apostrophecms/pro-4542-conditional-fields
Browse files Browse the repository at this point in the history
conditional fields are not available in AposRelationshipEditor
  • Loading branch information
haroun authored Jul 27, 2023
2 parents 5aabc2c + c01097c commit c0cb7b2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ export default {
const tabs = [];
for (const key in this.groups) {
if (key !== 'utility') {
const conditionalFields = this.conditionalFields('other');
// AposRelationshipEditor does not implement AposEditorMixin with the function conditionalFields
const conditionalFields = this.conditionalFields?.('other') || [];
const fields = this.groups[key].fields;
tabs.push({
name: key,
Expand Down

0 comments on commit c0cb7b2

Please sign in to comment.