11< app-selected-registrar-wrapper >
2- < div class ="console-domains ">
2+ < div class ="console-app- domains ">
33 < h1 class ="mat-headline-4 "> Domains</ h1 >
4- < a
5- mat-stroked-button
6- color ="primary "
7- href ="/console-api/dum-download?registrarId={{
8- registrarService.registrarId()
9- }} "
10- class ="console-app-domains__download "
11- >
12- < mat-icon > download</ mat-icon >
13- Download domains (.csv)
14- </ a >
15- < mat-form-field class ="console-app__domains-filter ">
16- < mat-label > Filter</ mat-label >
17- < input
18- type ="search "
19- matInput
20- [(ngModel)] ="searchTerm "
21- (ngModelChange) ="sendInput() "
22- [disabled] ="isLoading "
23- #input
24- />
25- </ mat-form-field >
4+
265 @if (!isLoading && totalResults == 0) {
276 < div class ="console-app__empty-domains ">
287 < h1 >
@@ -38,6 +17,29 @@ <h1>No domains found</h1>
3817 < div class ="console-app__domains-spinner ">
3918 < mat-spinner />
4019 </ div >
20+ } @else {
21+ < a
22+ mat-stroked-button
23+ color ="primary "
24+ href ="/console-api/dum-download?registrarId={{
25+ registrarService.registrarId()
26+ }} "
27+ class ="console-app-domains__download "
28+ >
29+ < mat-icon > download</ mat-icon >
30+ Download domains (.csv)
31+ </ a >
32+ < mat-form-field class ="console-app__domains-filter ">
33+ < mat-label > Filter</ mat-label >
34+ < input
35+ type ="search "
36+ matInput
37+ [(ngModel)] ="searchTerm "
38+ (ngModelChange) ="sendInput() "
39+ [disabled] ="isLoading "
40+ #input
41+ />
42+ </ mat-form-field >
4143 }
4244 < mat-table
4345 [dataSource] ="dataSource "
0 commit comments