role/audit: Don't use class `EmptyState`, it's from icingadb web

This commit is contained in:
Johannes Meyer 2021-04-07 16:00:01 +02:00
parent 0d35a1774d
commit b48f7f3489
1 changed files with 1 additions and 2 deletions

View File

@ -11,7 +11,6 @@ use Icinga\Authentication\RolesConfig;
use Icinga\Data\Selectable;
use Icinga\Exception\NotFoundError;
use Icinga\Forms\Security\RoleForm;
use Icinga\Module\Icingadb\Widget\EmptyState;
use Icinga\Repository\Repository;
use Icinga\Security\SecurityException;
use Icinga\User;
@ -186,7 +185,7 @@ class RoleController extends AuthBackendController
$this->addControl($form);
if (! $name) {
$this->addContent(new EmptyState(t('No user or group selected.')));
$this->addContent(Html::wantHtml(t('No user or group selected.')));
return;
}