re-add contextual classes to domain-entry depending on deactivated/termination_date

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-04-22 14:29:36 +02:00
parent 68fcfd2cf5
commit d267f408eb
4 changed files with 31 additions and 1 deletions

View File

@@ -16,6 +16,7 @@
*
*/
use Froxlor\UI\Callbacks\Style;
use Froxlor\UI\Callbacks\Domain;
use Froxlor\UI\Callbacks\Impersonate;
use Froxlor\UI\Callbacks\Text;
@@ -117,6 +118,9 @@ return [
],
'visible' => [Domain::class, 'adminCanDelete']
]
],
'format_callback' => [
[Style::class, 'resultDomainTerminatedOrDeactivated']
]
]
];