1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-25 23:02:26 +00:00

feat: side properties (#6485)

* feat: side properties

* feat: show metadata

* feat: delete record expand

* feat: optimzie code

* fix: bug

---------

Co-authored-by: 杨国璇 <ygx@Hello-word.local>
This commit is contained in:
杨国璇
2024-08-06 17:30:11 +08:00
committed by GitHub
parent 1c169b5329
commit b043cb8491
63 changed files with 408 additions and 2490 deletions

View File

@@ -81,7 +81,7 @@ export const getGroupsRows = (
const lastRowIndex = rowsLength - 1;
const isRowVisible = isParentGroupVisible && isExpanded;
const isBtnInsertRowVisible = isRowVisible && includeInsertRow;
const rowsHeight = isRowVisible ? rowsLength * rowHeight : 0;
const rowsHeight = isRowVisible ? rowsLength * rowHeight + 1 : 0;
const btnInsertRowHeight = isBtnInsertRowVisible ? INSERT_ROW_HEIGHT : 0;
let rows = row_ids.map((rowId, index) => {
return {
@@ -90,7 +90,7 @@ export const getGroupsRows = (
rowIdx: index,
isLastRow: index === lastRowIndex,
visible: isRowVisible,
height: rowHeight,
height: index === lastRowIndex ? rowHeight + 1 : rowHeight,
level: currentLevel,
rowsLength,
left,