[PM-7004] Remove manual loading state in verify-recover-delete-org.component

This commit is contained in:
Rui Tome 2024-04-22 18:49:59 +01:00
parent 1eb3cae727
commit ac653135d9
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066
2 changed files with 0 additions and 5 deletions

View File

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

View File

@ -5,7 +5,6 @@ import { firstValueFrom } from "rxjs";
import { OrganizationApiServiceAbstraction } from "@bitwarden/common/admin-console/abstractions/organization/organization-api.service.abstraction";
import { OrganizationVerifyDeleteRecoverRequest } from "@bitwarden/common/admin-console/models/request/organization-verify-delete-recover.request";
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
import { LogService } from "@bitwarden/common/platform/abstractions/log.service";
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
import { SharedModule } from "../../../shared/shared.module";
@ -16,7 +15,6 @@ import { SharedModule } from "../../../shared/shared.module";
imports: [SharedModule],
})
export class VerifyRecoverDeleteOrgComponent implements OnInit {
loading = true;
name: string;
private orgId: string;
@ -28,7 +26,6 @@ export class VerifyRecoverDeleteOrgComponent implements OnInit {
private platformUtilsService: PlatformUtilsService,
private i18nService: I18nService,
private route: ActivatedRoute,
private logService: LogService,
) {}
async ngOnInit() {
@ -37,7 +34,6 @@ 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(["/"]);
}