mirror of
https://github.com/bitwarden/browser
synced 2025-12-22 19:23:52 +00:00
dialogs with swal
This commit is contained in:
@@ -69,7 +69,7 @@ const i18nService = new I18nService(window.navigator.language, 'locales');
|
||||
const stateService = new StateService();
|
||||
const broadcasterService = new BroadcasterService();
|
||||
const messagingService = new WebMessagingService();
|
||||
const platformUtilsService = new WebPlatformUtilsService(messagingService);
|
||||
const platformUtilsService = new WebPlatformUtilsService(messagingService, i18nService);
|
||||
const storageService: StorageServiceAbstraction = new WebStorageService();
|
||||
const cryptoFunctionService: CryptoFunctionServiceAbstraction = new WebCryptoFunctionService(window,
|
||||
platformUtilsService);
|
||||
|
||||
@@ -207,9 +207,11 @@ export class VaultComponent implements OnInit {
|
||||
childComponent.cipherId = cipher == null ? null : cipher.id;
|
||||
childComponent.onSavedCipher.subscribe(async (c: CipherView) => {
|
||||
this.modal.close();
|
||||
await this.ciphersComponent.refresh();
|
||||
});
|
||||
childComponent.onDeletedCipher.subscribe(async (c: CipherView) => {
|
||||
this.modal.close();
|
||||
await this.ciphersComponent.refresh();
|
||||
});
|
||||
|
||||
this.modal.onClosed.subscribe(() => {
|
||||
|
||||
Reference in New Issue
Block a user