Skip to content

Commit bd55ef6

Browse files
feat(spreadsheet): access alias data for current node (#3289)
Signed-off-by: Joris Mancini <[email protected]> Co-authored-by: Achour berrahma <[email protected]>
1 parent 42d6f02 commit bd55ef6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/spreadsheet-view/spreadsheet/spreadsheet-content/spreadsheet-content.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,6 @@ export const SpreadsheetContent = memo(
164164
return Object.values(
165165
Object.entries(equipments.equipmentsByNodeId).reduce(
166166
(prev, [nodeId, nodeEquipments]) => {
167-
if (nodeId === currentNode.id) {
168-
return prev;
169-
}
170167
const nodeAlias = nodeAliases.find((value) => value.id === nodeId);
171168
if (nodeAlias) {
172169
Object.values(nodeEquipments).forEach((eq) => {

0 commit comments

Comments
 (0)