mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-05 15:05:58 +01:00
Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user