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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user