mirror of
https://github.com/SilenceLurker/ST-Amily2-Chat-Optimisation.git
synced 2026-06-06 08:55:50 +00:00
Update message-table-renderer.js
This commit is contained in:
@@ -27,7 +27,9 @@ function renderTablesToHtml(tables, highlights) {
|
||||
|
||||
html += '<tbody>';
|
||||
table.rows.forEach((row, rowIndex) => {
|
||||
html += '<tr>';
|
||||
const rowStatus = table.rowStatuses ? table.rowStatuses[rowIndex] : 'normal';
|
||||
const deletionClass = rowStatus === 'pending-deletion' ? ' pending-deletion-row' : '';
|
||||
html += `<tr class="${deletionClass}">`;
|
||||
row.forEach((cell, colIndex) => {
|
||||
const highlightKey = `${tableIndex}-${rowIndex}-${colIndex}`;
|
||||
const isHighlighted = highlights.has(highlightKey);
|
||||
|
||||
Reference in New Issue
Block a user