mirror of
https://github.com/google/nomulus
synced 2026-01-03 11:45:39 +00:00
Fully reset domain-list page on registrar change (#2456)
When the registrar changes we should reset the page and the total results to 0 (since we haven't loaded them yet) https://b.corp.google.com/issues/343193698
This commit is contained in:
@@ -59,6 +59,8 @@ export class DomainListComponent {
|
||||
) {
|
||||
effect(() => {
|
||||
if (this.registrarService.registrarId()) {
|
||||
this.pageNumber = 0;
|
||||
this.totalResults = 0;
|
||||
this.reloadData();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user