mirror of
https://github.com/openclassify/openclassify.git
synced 2026-01-11 18:01:10 -06:00
Merge pull request #977 from openclassify/dia
#3392 if no email do not show in admin
This commit is contained in:
commit
97306a75dd
@ -89,7 +89,6 @@
|
||||
|
||||
{{ addBlock('ads-list/row-bottom')|raw }}
|
||||
|
||||
{# <div class="category-tabs"></div>#}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
<?php namespace Visiosoft\DefaultadminTheme\Listener;
|
||||
|
||||
use Anomaly\Streams\Platform\Entry\EntryModel;
|
||||
use Anomaly\Streams\Platform\Ui\Table\Component\Header\Header;
|
||||
use Illuminate\Support\Collection;
|
||||
use Anomaly\Streams\Platform\Ui\Table\Component\Filter\Type\SearchFilter;
|
||||
@ -53,7 +54,11 @@ class AddGsmFilter
|
||||
$builder->setColumns([
|
||||
'first_name',
|
||||
'last_name',
|
||||
'email',
|
||||
'email' => [
|
||||
'value' => function (EntryModel $entry) {
|
||||
return str_ends_with($entry->email, '@example.com') ? '' : $entry->email;
|
||||
}
|
||||
],
|
||||
'gsm_phone',
|
||||
'created_at' => [
|
||||
'value' => 'entry.created_at'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user