diff --git a/console-webapp/src/app/domains/domainList.component.html b/console-webapp/src/app/domains/domainList.component.html index 94bfcdcfb..9be39b8d4 100644 --- a/console-webapp/src/app/domains/domainList.component.html +++ b/console-webapp/src/app/domains/domainList.component.html @@ -1,18 +1,6 @@

Domains

- @if (totalResults === 0) { -
-

- apps_outage -

-

No domains found

-
- } @else if(isLoading) { - - } @else { - - - Domain Name - {{ element.domainName }} - + @if (!isLoading && totalResults == 0) { +
+

+ apps_outage +

+

No domains found

+
+ } @else { +
+ @if (isLoading) { +
+ +
+ } + + + Domain Name + {{ + element.domainName + }} + - - Creation Time - - {{ element.creationTime.creationTime }} - - + + Creation Time + + {{ element.creationTime.creationTime }} + + - - Expiration Time - - {{ element.registrationExpirationTime }} - - + + Expiration Time + + {{ element.registrationExpirationTime }} + + - - Statuses - {{ element.statuses }} - + + Statuses + {{ element.statuses }} + - - + + - - - No domains found - - - + + + No domains found + + + +
}
diff --git a/console-webapp/src/app/domains/domainList.component.scss b/console-webapp/src/app/domains/domainList.component.scss index 9a72dd8b2..86b50ba0e 100644 --- a/console-webapp/src/app/domains/domainList.component.scss +++ b/console-webapp/src/app/domains/domainList.component.scss @@ -31,10 +31,24 @@ width: 100%; } + &__domains-table-parent { + position: relative; + } + &__domains-table { min-width: $min-width !important; } + &__domains-spinner { + align-items: center; + display: flex; + justify-content: center; + position: absolute; + height: 100%; + width: 100%; + background: rgba(255, 255, 255, 0.6); + } + .mat-mdc-paginator { min-width: $min-width !important; } diff --git a/console-webapp/src/app/domains/domainList.component.ts b/console-webapp/src/app/domains/domainList.component.ts index f4ac8dc4e..06cc5429e 100644 --- a/console-webapp/src/app/domains/domainList.component.ts +++ b/console-webapp/src/app/domains/domainList.component.ts @@ -58,11 +58,10 @@ export class DomainListComponent { private _snackBar: MatSnackBar ) { effect(() => { - if (this.registrarService.registrarId()) { - this.pageNumber = 0; - this.totalResults = 0; - this.reloadData(); - } + this.pageNumber = 0; + this.totalResults = 0; + this.reloadData(); + this.registrarService.registrarId(); }); }