Skip to content

Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.

Update DatabaseMaintenanceDialog.tsx

Jonathan4a6e344a5d80
diff --git a/invokeai/frontend/webv2/src/workbench/settings/DatabaseMaintenanceDialog.tsx b/invokeai/frontend/webv2/src/workbench/settings/DatabaseMaintenanceDialog.tsx
index 23f0f8da8f..25c503001a 100644
--- a/invokeai/frontend/webv2/src/workbench/settings/DatabaseMaintenanceDialog.tsx
+++ b/invokeai/frontend/webv2/src/workbench/settings/DatabaseMaintenanceDialog.tsx
@@ -30,7 +30,7 @@ export const DatabaseMaintenanceDialog = ({ isOpen, onClose }: { isOpen: boolean
<ConfirmDialog
body={t('settings.databaseMaintenance.confirmBody')}
confirmLabel={t('settings.databaseMaintenance.compactDatabase')}
- isDestructive={false}
+ isDestructive
isOpen={isOpen}
title={t('settings.databaseMaintenance.confirmTitle')}
onClose={onClose}