Skip to content

Commit

Permalink
Return default layout for content objects.
Browse files Browse the repository at this point in the history
  • Loading branch information
robgietema committed May 6, 2024
1 parent 3994b4c commit 263f817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
- Fix serving videos @robgietema
- Fix related items in get call @robgietema
- Update workflow from seeds when already exists @robgietema
- Return default layout for content objects @robgietema

### Internal

Expand Down
1 change: 1 addition & 0 deletions src/models/document/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ export class Document extends Model {
modified: this.modified,
UID: this.uuid,
owner: this.owner,
layout: 'view',
is_folderish: this._type
? includes(this._type._schema.behaviors, 'folderish')
: true,
Expand Down

0 comments on commit 263f817

Please sign in to comment.