Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit a370e8a

Browse files
authored
fix: LSDV-5158: Hide prediction delete button as it doesn't actually allow prediction deletions at this time (#1427)
1 parent 90e5984 commit a370e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/AnnotationsCarousel/AnnotationButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export const AnnotationButton = observer(({ entity, capabilities, annotationStor
133133
Duplicate Annotation
134134
</Elem>
135135
)}
136-
{capabilities.enableAnnotationDelete && (
136+
{capabilities.enableAnnotationDelete && !isPrediction && (
137137
<>
138138
<Elem name="seperator"></Elem>
139139
<Elem name="option" mod={{ delete: true }} onClick={deleteAnnotation}>

0 commit comments

Comments
 (0)