1
0
mirror of https://github.com/google/nomulus synced 2026-01-04 20:24:22 +00:00

Wait to load domain list until a registrar is selected (#2485)

This isn't the worst thing in the world but it does result in a bad
request to the server otherwise, and log/error spam. So, only load the
domains list if we have a registrar selected.
This commit is contained in:
gbrodman
2024-06-25 14:39:53 -04:00
committed by GitHub
parent c9437d8c72
commit 0f0097c15c

View File

@@ -60,8 +60,9 @@ export class DomainListComponent {
effect(() => {
this.pageNumber = 0;
this.totalResults = 0;
this.reloadData();
this.registrarService.registrarId();
if (this.registrarService.registrarId()) {
this.reloadData();
}
});
}