From 918fda8ffc0ceb1d71fc4b5306a9a99918f7d950 Mon Sep 17 00:00:00 2001 From: "florian.azizian" <florian.azizian@maarch.org> Date: Fri, 17 Jan 2020 14:50:56 +0100 Subject: [PATCH] FEAT #12636 TIME 0:15 display document in contactCreation --- .../administration/contact/modal/contact-modal.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/frontend/app/administration/contact/modal/contact-modal.component.ts b/src/frontend/app/administration/contact/modal/contact-modal.component.ts index ed5ea9a9f0d..ae960000985 100644 --- a/src/frontend/app/administration/contact/modal/contact-modal.component.ts +++ b/src/frontend/app/administration/contact/modal/contact-modal.component.ts @@ -38,6 +38,12 @@ export class ContactModalComponent { } else { this.creationMode = true; this.mode = 'update'; + if (this.headerService.getLastLoadedFile() !== null) { + this.drawer.toggle(); + setTimeout(() => { + this.loadedDocument = true; + }, 200); + } } this.canUpdate = this.privilegeService.hasCurrentUserPrivilege('update_contacts'); } -- GitLab