HM-71. Доработки таблицы логов. Универсальной таблице добавлена возможность переопределять рендер строк и заголовков (#31)

This commit is contained in:
Nikolay
2020-07-25 14:23:52 +03:00
committed by GitHub
parent c93a1b8ddb
commit c425ffea45
19 changed files with 231 additions and 63 deletions

View File

@ -0,0 +1,12 @@
import Component from '../component';
import TableCellOverflow from '../table-cell-overflow';
class ClientLogsTableRow extends Component {
constructor (parentNode, cols, row) {
super(null, parentNode);
this.cols = cols.map((col) => new TableCellOverflow(this.mainNode, row[col.id]));
}
}
export default ClientLogsTableRow;