@selfcommunity/react-ui 0.11.0-alpha.82 → 0.11.0-alpha.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -437,7 +437,6 @@ function FeedObject(inProps) {
|
|
|
437
437
|
* SNIPPET, PREVIEW, DETAIL, SEARCH, SHARE
|
|
438
438
|
*/
|
|
439
439
|
let objElement;
|
|
440
|
-
console.log(obj);
|
|
441
440
|
if ((!obj && error) ||
|
|
442
441
|
((obj === null || obj === void 0 ? void 0 : obj.deleted) && !scUserContext.user && !(react_core_1.UserUtils.isAdmin(scUserContext.user) || react_core_1.UserUtils.isModerator(scUserContext.user)))) {
|
|
443
442
|
objElement = ((0, jsx_runtime_1.jsx)(material_1.CardContent, Object.assign({ className: (0, classnames_1.default)(classes.error, classes.content) }, { children: (0, jsx_runtime_1.jsx)(react_intl_1.FormattedMessage, { id: "ui.feedObject.error", defaultMessage: "ui.feedObject.error" }) })));
|
|
@@ -435,7 +435,6 @@ export default function FeedObject(inProps) {
|
|
|
435
435
|
* SNIPPET, PREVIEW, DETAIL, SEARCH, SHARE
|
|
436
436
|
*/
|
|
437
437
|
let objElement;
|
|
438
|
-
console.log(obj);
|
|
439
438
|
if ((!obj && error) ||
|
|
440
439
|
((obj === null || obj === void 0 ? void 0 : obj.deleted) && !scUserContext.user && !(UserUtils.isAdmin(scUserContext.user) || UserUtils.isModerator(scUserContext.user)))) {
|
|
441
440
|
objElement = (_jsx(CardContent, Object.assign({ className: classNames(classes.error, classes.content) }, { children: _jsx(FormattedMessage, { id: "ui.feedObject.error", defaultMessage: "ui.feedObject.error" }) })));
|