Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again

This commit is contained in:
Jan Böhmer 2022-09-11 00:46:12 +02:00
parent 4b9a40664b
commit bee057bc4b
2 changed files with 2 additions and 0 deletions

View file

@ -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: