diff --git a/src/pages/Well/DrillingProgram/CategoryHistory.jsx b/src/pages/Well/DrillingProgram/CategoryHistory.jsx index 5272d7a..a80acc5 100644 --- a/src/pages/Well/DrillingProgram/CategoryHistory.jsx +++ b/src/pages/Well/DrillingProgram/CategoryHistory.jsx @@ -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 skip = (page - 1) * pageSize - const paginatedHistory = await FileService.getFilesInfo(well.caption, idCategory, companyName, fileName, begin, end, false, skip, pageSize) + const paginatedHistory = await FileService.getFilesInfo(well.id, idCategory, companyName, fileName, begin, end, false, skip, pageSize) setTotal(paginatedHistory?.count ?? 0) setData(arrayOrDefault(paginatedHistory?.items)) }, diff --git a/src/styles/drilling_program.less b/src/styles/drilling_program.less index 60b2ff3..e41ca11 100755 --- a/src/styles/drilling_program.less +++ b/src/styles/drilling_program.less @@ -161,3 +161,14 @@ &:last-child { flex: @last; } // Относительная ширина второго столбца &:not(:last-child) { border-right: @border-style; } } + +.filter-group-heading { + display: flex; + gap: 5px; + flex-wrap: wrap; + margin-bottom: 10px; + + & > * { + flex: 1; + } +}