feat: add dark theme support

This commit is contained in:
Maël Gangloff
2024-12-20 20:21:05 +01:00
parent 425071bc23
commit ad8a99c291
3 changed files with 74 additions and 57 deletions

View File

@@ -256,6 +256,7 @@ readonly class RDAPService
continue;
}
$entity = $this->registerEntity($rdapEntity);
$this->em->flush();
$domainEntity = $this->domainEntityRepository->findOneBy([
'domain' => $domain,
@@ -327,6 +328,7 @@ readonly class RDAPService
continue;
}
$entity = $this->registerEntity($rdapEntity);
$this->em->flush();
$nameserverEntity = $this->nameserverEntityRepository->findOneBy([
'nameserver' => $nameserver,
@@ -477,7 +479,6 @@ readonly class RDAPService
}
$this->em->persist($entity);
$this->em->flush();
if (isset($domainEntities)) {
/** @var DomainEntity[] $domainEntities */