From 9e2b3bb86d594cc3061207a2c0b3a252aa02a629 Mon Sep 17 00:00:00 2001 From: kaw67872 <kawtar.laariche@iais.fraunhofer.de> Date: Wed, 5 Jun 2024 15:19:39 +0200 Subject: [PATCH] #22: :bug: fix no chosen file --- .../upload-license-profile.component.html | 2 +- .../upload-license-profile.component.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/app/shared/components/upload-license-profile/upload-license-profile.component.html b/src/app/shared/components/upload-license-profile/upload-license-profile.component.html index 2e4bcc2..64d0149 100644 --- a/src/app/shared/components/upload-license-profile/upload-license-profile.component.html +++ b/src/app/shared/components/upload-license-profile/upload-license-profile.component.html @@ -18,10 +18,10 @@ <div style="display: flex; flex-direction: column; align-items: center"> <div class="destext">Drag & Drop your file here!</div> <div class="destext">or</div> - <!--(click)="fileDropRef.click()"--> <button color="primary" style="border-radius: 21.5px; width: 183px" + (click)="fileDropRef.click()" mat-raised-button > <input diff --git a/src/app/shared/components/upload-license-profile/upload-license-profile.component.scss b/src/app/shared/components/upload-license-profile/upload-license-profile.component.scss index 64d3e46..dfc0984 100644 --- a/src/app/shared/components/upload-license-profile/upload-license-profile.component.scss +++ b/src/app/shared/components/upload-license-profile/upload-license-profile.component.scss @@ -172,3 +172,7 @@ input[type="file"] { margin-left: 8px; } } + +.upload-txtbox { + display: none; +} -- GitLab