Skip to content

Commit

Permalink
removed row id, isLocked and permissions from the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Corepex committed Jan 14, 2025
1 parent c3b7975 commit 3aff39f
Showing 1 changed file with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,16 @@ const GridContainer = (props: GridContainerProps): React.JSX.Element => {
columnIdentifiers.forEach((columnIdentifier) => {
const columnIdentifierString = decodeColumnIdentifier(columnIdentifier)

item.columns?.forEach((column) => {
row.id = item.id
row.id = item.id
row.isLocked = item.isLocked
row.permissions = item.permissions

console.log(row)

item.columns?.forEach((column) => {
if (column.key === columnIdentifier.key && column.locale === columnIdentifier.locale) {
row[columnIdentifierString] = column.value
}

row.isLocked = item.isLocked
row.permissions = item.permissions
})

handleProcessColumns({ assetItem: item, assetRow: row, columnIdentifier, columnIdentifierString })
Expand Down

0 comments on commit 3aff39f

Please sign in to comment.