Remove duplicated close modal UI element
Signed-off-by: gearnode <bryan@frimin.fr>
This commit is contained in:
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fix cannot create vendor when the name is too similar to suggested one
|
- Fix cannot create vendor when the name is too similar to suggested one
|
||||||
|
- Fix UI show double button to close evidence preview modal.
|
||||||
|
|
||||||
## [0.5.0] - 2025-04-10
|
## [0.5.0] - 2025-04-10
|
||||||
|
|
||||||
|
|||||||
@@ -3486,12 +3486,6 @@ function MitigationViewContent({
|
|||||||
<DialogHeader>
|
<DialogHeader>
|
||||||
<DialogTitle className="flex items-center justify-between">
|
<DialogTitle className="flex items-center justify-between">
|
||||||
<span>{previewEvidence?.filename}</span>
|
<span>{previewEvidence?.filename}</span>
|
||||||
<button
|
|
||||||
onClick={() => setIsPreviewModalOpen(false)}
|
|
||||||
className="rounded-full p-1 hover:bg-secondary-bg"
|
|
||||||
>
|
|
||||||
<X className="w-5 h-5" />
|
|
||||||
</button>
|
|
||||||
</DialogTitle>
|
</DialogTitle>
|
||||||
<DialogDescription>
|
<DialogDescription>
|
||||||
Preview of the evidence file. You can view or download the file
|
Preview of the evidence file. You can view or download the file
|
||||||
|
|||||||
Reference in New Issue
Block a user