From 5a23f6437d4f5348f6ac92a68336d9fb958708e4 Mon Sep 17 00:00:00 2001 From: "konstantina.galouni" Date: Mon, 29 Jan 2024 19:53:11 +0200 Subject: [PATCH] [develop | DONE | FIXED]: project.component.ts: In method "closeLoading()" added setTimeout of 300ms - too fast open and close of the loading modal and it couldn't close eventually. --- landingPages/project/project.component.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/landingPages/project/project.component.ts b/landingPages/project/project.component.ts index 4e7eb8ba..bbf26740 100644 --- a/landingPages/project/project.component.ts +++ b/landingPages/project/project.component.ts @@ -897,9 +897,11 @@ export class ProjectComponent { } private closeLoading() { - if (this.loading) { - this.loading.close(); - } + setTimeout(() => { + if (this.loading) { + this.loading.close(); + } + }, 300) } private setMessageLoading(message: string) {