1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

Fix ModalService refactor bugs (#1168)

This commit is contained in:
Oscar Hinton
2021-08-31 16:42:43 +02:00
committed by GitHub
parent f08b6e7975
commit 2235664bed
4 changed files with 11 additions and 4 deletions

View File

@@ -72,7 +72,7 @@ export class SendComponent extends BaseSendComponent {
async editSend(send: SendView) {
const [modal, childComponent] = await this.modalService.openViewRef(AddEditComponent, this.sendAddEditModalRef, comp => {
childComponent.sendId = send == null ? null : send.id;
comp.sendId = send == null ? null : send.id;
comp.onSavedSend.subscribe(async (s: SendView) => {
modal.close();
await this.load();