удалён аргумент idMark в getFilesInfo

This commit is contained in:
goodmice 2022-10-17 14:39:02 +05:00
parent af031d94d7
commit 85b17ccf66
No known key found for this signature in database
GPG Key ID: 63EA771203189CF1
2 changed files with 1 additions and 2 deletions

View File

@ -61,7 +61,6 @@ export const DocumentsTemplate = ({ idCategory, well: givenWell, mimeTypes, head
filterFileName, filterFileName,
begin, begin,
end, end,
undefined,
false, false,
(page - 1) * pageSize, (page - 1) * pageSize,
pageSize, pageSize,

View File

@ -74,7 +74,7 @@ export const CategoryHistory = ({ idCategory, visible, onClose }) => {
const [begin, end] = range?.length > 1 ? [range[0].toISOString(), range[1].toISOString()] : [null, null] const [begin, end] = range?.length > 1 ? [range[0].toISOString(), range[1].toISOString()] : [null, null]
const skip = (page - 1) * pageSize const skip = (page - 1) * pageSize
const paginatedHistory = await FileService.getFilesInfo(well.caption, idCategory, companyName, fileName, begin, end, undefined, false, skip, pageSize) const paginatedHistory = await FileService.getFilesInfo(well.caption, idCategory, companyName, fileName, begin, end, false, skip, pageSize)
setTotal(paginatedHistory?.count ?? 0) setTotal(paginatedHistory?.count ?? 0)
setData(arrayOrDefault(paginatedHistory?.items)) setData(arrayOrDefault(paginatedHistory?.items))
}, },