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
|
||||
|
||||
- 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
|
||||
|
||||
|
||||
@@ -3486,12 +3486,6 @@ function MitigationViewContent({
|
||||
<DialogHeader>
|
||||
<DialogTitle className="flex items-center justify-between">
|
||||
<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>
|
||||
<DialogDescription>
|
||||
Preview of the evidence file. You can view or download the file
|
||||
|
||||
Reference in New Issue
Block a user