Skip to content

Commit

Permalink
Update combined fields story
Browse files Browse the repository at this point in the history
  • Loading branch information
louwie17 committed Oct 31, 2024
1 parent 3e5a584 commit 58150ef
Showing 1 changed file with 9 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,15 @@ const CombinedFieldsComponent = ( {
const form = {
fields: [
'title',
{
id: 'status',
layout: 'panel',
fields: [ 'status', 'password' ],
},
...( type === 'regular'
? [ 'status', 'password' ]
: [
{
id: 'status',
layout: 'panel',
fields: [ 'status', 'password' ],
},
] ),
'order',
'author',
],
Expand Down

0 comments on commit 58150ef

Please sign in to comment.