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:
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user