mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again
This commit is contained in:
parent
4b9a40664b
commit
bee057bc4b
2 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,7 @@ class LogDataTable implements DataTableTypeInterface
|
|||
|
||||
$dataTable->add('symbol', TextColumn::class, [
|
||||
'label' => '',
|
||||
'className' => 'no-colvis',
|
||||
'render' => static function ($value, AbstractLogEntry $context) {
|
||||
switch ($context->getLevelString()) {
|
||||
case LogLevel::DEBUG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue