diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx index 58c565e8237..f5c6dd9ab05 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/ConfirmDeleteModal.tsx @@ -17,9 +17,6 @@ export const ConfirmDeleteModal = () => { } = useStorageExplorerStateSnapshot() const isStorageVersioningEnabled = useIsStorageVersioningEnabled() - // On a versioned bucket a delete is a soft delete: the object is hidden but - // every version stays recoverable, so the usual "cannot be undone" warning - // would be wrong. const isVersionedBucket = isStorageVersioningEnabled && getBucketVersioningState(selectedBucket) !== 'disabled' diff --git a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx index 8538079274d..b75d7aae782 100644 --- a/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx +++ b/apps/studio/components/interfaces/Storage/StorageExplorer/PreviewPane.tsx @@ -200,11 +200,6 @@ const CurrentFilePreview = ({ }: CurrentFilePreviewProps) => (
@@ -282,8 +277,7 @@ const CurrentFilePreview = ({ )} - {/* A delete here is a soft delete, so the button says so and the real - destructive action moves behind the split menu. */} + {/* A delete in a versioned bucket is a soft delete/archive, unless specified explicitly */} {canUpdateFiles && isVersionedBucket && (