mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-24 03:32:51 +02:00
[PM-7004] Remove manual loading state in verify-recover-delete-org.component
This commit is contained in:
parent
1eb3cae727
commit
ac653135d9
@ -19,7 +19,6 @@
|
||||
buttonType="primary"
|
||||
class="btn btn-danger btn-block btn-submit"
|
||||
[bitAction]="submit"
|
||||
[disabled]="loading"
|
||||
>
|
||||
<span>{{ "deleteOrganization" | i18n }}</span>
|
||||
</button>
|
||||
|
@ -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(["/"]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user