|
@@ -18,7 +18,7 @@ class PageAttachment extends React.Component {
|
|
|
const { appContainer } = this.props;
|
|
const { appContainer } = this.props;
|
|
|
this.state = {
|
|
this.state = {
|
|
|
activePage: 1,
|
|
activePage: 1,
|
|
|
- limit: appContainer.getConfig().pageLimitationS,
|
|
|
|
|
|
|
+ limit: appContainer.getConfig().pageLimitationS || 10,
|
|
|
totalAttachments: 0,
|
|
totalAttachments: 0,
|
|
|
attachments: [],
|
|
attachments: [],
|
|
|
inUse: {},
|
|
inUse: {},
|
|
@@ -150,6 +150,8 @@ class PageAttachment extends React.Component {
|
|
|
);
|
|
);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ console.log(this.state.limit);
|
|
|
|
|
+
|
|
|
return (
|
|
return (
|
|
|
<>
|
|
<>
|
|
|
<PageAttachmentList
|
|
<PageAttachmentList
|