rebuilt with the sdk fix
This commit is contained in:
+6
-1
@@ -3537,9 +3537,14 @@ class Topic {
|
|||||||
if (_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().hasEntities(pub.content)) {
|
if (_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().hasEntities(pub.content)) {
|
||||||
attachments = [];
|
attachments = [];
|
||||||
_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().entities(pub.content, data => {
|
_drafty_js__WEBPACK_IMPORTED_MODULE_4___default().entities(pub.content, data => {
|
||||||
if (data && data.ref) {
|
if (data) {
|
||||||
|
if (data.ref) {
|
||||||
attachments.push(data.ref);
|
attachments.push(data.ref);
|
||||||
}
|
}
|
||||||
|
if (data.preref) {
|
||||||
|
attachments.push(data.preref);
|
||||||
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
if (attachments.length == 0) {
|
if (attachments.length == 0) {
|
||||||
attachments = null;
|
attachments = null;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user