INNER CODE UNIT · JavaScript
nextNode
AscensionGameDev/Intersect-Engine · Intersect.Server/wwwroot/js/assets.js:574
const nextNode = nodes.findLast((n, i) => nodeIndex < i && n.parentId === node.parentId) ?? null;
const lastChild = nextNode === null;
return [
node.id,
{
depth,
lastChild,
},
];
}));
/**
*
* @param {HTMLTableRowElement} row
* @param {LocalStorageBrowseNode} node
*/
function updateRow(row, node) {
const nameElement = row.querySelector('.name');