mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 23:03:32 +00:00
Upload license dialog not closing bug fix (#9588)
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { DialogRef } from "@angular/cdk/dialog";
|
||||
import { Component } from "@angular/core";
|
||||
import { FormBuilder } from "@angular/forms";
|
||||
|
||||
@@ -23,8 +24,16 @@ export class UpdateLicenseDialogComponent extends UpdateLicenseComponent {
|
||||
platformUtilsService: PlatformUtilsService,
|
||||
organizationApiService: OrganizationApiServiceAbstraction,
|
||||
formBuilder: FormBuilder,
|
||||
dialogRef: DialogRef<UpdateLicenseDialogResult>, // Add this line
|
||||
) {
|
||||
super(apiService, i18nService, platformUtilsService, organizationApiService, formBuilder);
|
||||
super(
|
||||
apiService,
|
||||
i18nService,
|
||||
platformUtilsService,
|
||||
organizationApiService,
|
||||
formBuilder,
|
||||
dialogRef,
|
||||
);
|
||||
}
|
||||
async submitLicense() {
|
||||
await this.submit();
|
||||
|
||||
Reference in New Issue
Block a user