mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Coloring on log level in log tables now work again.
This commit is contained in:
parent
f0395d51b0
commit
618a6e49dd
3 changed files with 28 additions and 25 deletions
|
@ -138,7 +138,12 @@ export default class extends Controller {
|
|||
}
|
||||
|
||||
_rowCallback(row, data, index) {
|
||||
//Empty by default but can be overridden by child classes
|
||||
//Set the row class based on the optional $$rowClass column data, can be used to color the rows
|
||||
|
||||
//Check if we have a level, then change color of this row
|
||||
if (data.$$rowClass) {
|
||||
$(row).addClass(data.$$rowClass);
|
||||
}
|
||||
}
|
||||
|
||||
_onSelectionChange(e, dt, items ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue