Web: Files: FormGallery: fixed tiles display
This commit is contained in:
parent
72a7240cb8
commit
fa4674f2b0
@ -128,7 +128,7 @@ const InfiniteGrid = (props) => {
|
||||
);
|
||||
};
|
||||
|
||||
export default inject(({ filesStore, oformsStore }) => {
|
||||
export default inject(({ auth, filesStore, oformsStore }) => {
|
||||
const {
|
||||
oformFiles,
|
||||
hasMoreForms,
|
||||
@ -139,6 +139,7 @@ export default inject(({ filesStore, oformsStore }) => {
|
||||
const { getCountTilesInRow } = filesStore;
|
||||
|
||||
const filesLength = oformFiles.length;
|
||||
const { isVisible } = auth.infoPanelStore;
|
||||
|
||||
return {
|
||||
filesList: oformFiles,
|
||||
@ -147,5 +148,6 @@ export default inject(({ filesStore, oformsStore }) => {
|
||||
fetchMoreFiles: loadMoreForms,
|
||||
filesLength,
|
||||
getCountTilesInRow,
|
||||
isVisible,
|
||||
};
|
||||
})(observer(InfiniteGrid));
|
||||
|
Loading…
Reference in New Issue
Block a user