mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-25 03:43:10 +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"
|
buttonType="primary"
|
||||||
class="btn btn-danger btn-block btn-submit"
|
class="btn btn-danger btn-block btn-submit"
|
||||||
[bitAction]="submit"
|
[bitAction]="submit"
|
||||||
[disabled]="loading"
|
|
||||||
>
|
>
|
||||||
<span>{{ "deleteOrganization" | i18n }}</span>
|
<span>{{ "deleteOrganization" | i18n }}</span>
|
||||||
</button>
|
</button>
|
||||||
|
@ -5,7 +5,6 @@ import { firstValueFrom } from "rxjs";
|
|||||||
import { OrganizationApiServiceAbstraction } from "@bitwarden/common/admin-console/abstractions/organization/organization-api.service.abstraction";
|
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 { OrganizationVerifyDeleteRecoverRequest } from "@bitwarden/common/admin-console/models/request/organization-verify-delete-recover.request";
|
||||||
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
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 { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
||||||
|
|
||||||
import { SharedModule } from "../../../shared/shared.module";
|
import { SharedModule } from "../../../shared/shared.module";
|
||||||
@ -16,7 +15,6 @@ import { SharedModule } from "../../../shared/shared.module";
|
|||||||
imports: [SharedModule],
|
imports: [SharedModule],
|
||||||
})
|
})
|
||||||
export class VerifyRecoverDeleteOrgComponent implements OnInit {
|
export class VerifyRecoverDeleteOrgComponent implements OnInit {
|
||||||
loading = true;
|
|
||||||
name: string;
|
name: string;
|
||||||
|
|
||||||
private orgId: string;
|
private orgId: string;
|
||||||
@ -28,7 +26,6 @@ export class VerifyRecoverDeleteOrgComponent implements OnInit {
|
|||||||
private platformUtilsService: PlatformUtilsService,
|
private platformUtilsService: PlatformUtilsService,
|
||||||
private i18nService: I18nService,
|
private i18nService: I18nService,
|
||||||
private route: ActivatedRoute,
|
private route: ActivatedRoute,
|
||||||
private logService: LogService,
|
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
async ngOnInit() {
|
async ngOnInit() {
|
||||||
@ -37,7 +34,6 @@ export class VerifyRecoverDeleteOrgComponent implements OnInit {
|
|||||||
this.orgId = qParams.orgId;
|
this.orgId = qParams.orgId;
|
||||||
this.token = qParams.token;
|
this.token = qParams.token;
|
||||||
this.name = qParams.name;
|
this.name = qParams.name;
|
||||||
this.loading = false;
|
|
||||||
} else {
|
} else {
|
||||||
await this.router.navigate(["/"]);
|
await this.router.navigate(["/"]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user