[PM-7004] Add back in the manual loading state in verify-recover-delete-org.component

This commit is contained in:
Rui Tome 2024-04-23 12:49:38 +01:00
parent dd1d7b8f6c
commit 01cbc7437b
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@
buttonType="primary"
class="btn-danger"
[bitAction]="submit"
[disabled]="loading"
[block]="true"
>
{{ "deleteOrganization" | i18n }}

View File

@ -15,6 +15,7 @@ import { SharedModule } from "../../../shared/shared.module";
imports: [SharedModule],
})
export class VerifyRecoverDeleteOrgComponent implements OnInit {
loading = true;
name: string;
private orgId: string;
@ -34,6 +35,7 @@ export class VerifyRecoverDeleteOrgComponent implements OnInit {
this.orgId = qParams.orgId;
this.token = qParams.token;
this.name = qParams.name;
this.loading = false;
} else {
await this.router.navigate(["/"]);
}