rebuilt with the sdk fix

This commit is contained in:
or-else
2023-02-05 17:49:31 -08:00
parent eeea27ca82
commit 111b9d8641
4 changed files with 10 additions and 5 deletions
+7 -2
View File
@@ -3537,8 +3537,13 @@ class Topic {
if (_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().hasEntities(pub.content)) {
attachments = [];
_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().entities(pub.content, data => {
if (data && data.ref) {
attachments.push(data.ref);
if (data) {
if (data.ref) {
attachments.push(data.ref);
}
if (data.preref) {
attachments.push(data.preref);
}
}
});
if (attachments.length == 0) {