mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
fix: null collectionId received in websocket payload for unpublished drafts (#9276)
This commit is contained in:
@@ -69,11 +69,13 @@ export default class WebsocketsProcessor {
|
||||
updatedAt: document.updatedAt,
|
||||
},
|
||||
],
|
||||
collectionIds: [
|
||||
{
|
||||
id: document.collectionId,
|
||||
},
|
||||
],
|
||||
collectionIds: document.collectionId
|
||||
? [
|
||||
{
|
||||
id: document.collectionId,
|
||||
},
|
||||
]
|
||||
: [],
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user