1
0
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:
gbrodman
2024-05-29 12:54:01 -04:00
committed by GitHub
parent 455364ff29
commit 589041b3ed
2 changed files with 9 additions and 0 deletions

View File

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