Properly load entries when switching collections

This commit is contained in:
Daniel Lautzenheiser
2022-09-30 18:18:02 -04:00
parent 9bd6fb49d1
commit 24e68d8ed8
5 changed files with 10 additions and 5 deletions

View File

@ -571,7 +571,7 @@ Example usage:
```javascript
CMS.registerEventListener({
name: 'prePublish',
handler: ({ author, entry }) => console.log(JSON.stringify({ author, data: entry.get('data') })),
handler: ({ author, entry }) => console.info(JSON.stringify({ author, data: entry.get('data') })),
});
```