File tree Expand file tree Collapse file tree
AddressOwnershipTool.Web/ClientApp/src/app/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< div class ="container mt-4 " *ngIf ="claimGroups.length === 0 ">
2+ < div class ="modal-backdrop show " *ngIf ="busy "> </ div >
3+ < div class ="modal show d-flex justify-content-center align-items-center " *ngIf ="busy ">
4+ < div class ="spinner-border text-primary " role ="status "> </ div >
5+ </ div >
26 < form [formGroup] ="directoryForm " (ngSubmit) ="onSubmit() " *ngIf ="authService.isLoggedIn$ | async; else notLoggedInTemplate ">
37 < div class ="mb-3 ">
48 < label for ="directoryPath " class ="form-label "> Directory Path</ label >
Original file line number Diff line number Diff line change @@ -47,12 +47,14 @@ export class HomeComponent implements OnInit {
4747
4848 async onSubmit ( ) {
4949 if ( this . directoryForm . valid ) {
50+ this . busy = true ;
5051 const result = await this . distributionService . load ( this . directoryForm . value . directoryPath ) ;
5152 if ( ! ! result . message ) {
5253 alert ( result . message ) ;
5354 } else {
5455 this . claimGroups = result . result ;
5556 }
57+ this . busy = false ;
5658 }
5759 }
5860
You can’t perform that action at this time.
0 commit comments