feat: Document feature enhancements (#31) #32

Merged
egullickson merged 7 commits from issue-31-document-enhancements into main 2026-01-15 02:35:56 +00:00
Showing only changes of commit 354ce47fc4 - Show all commits

View File

@@ -252,11 +252,9 @@ export const VehicleDetailPage: React.FC = () => {
if (fullDelete) {
// Full delete
await deleteDocument(documentToDelete.id);
console.log('Document deleted permanently');
} else {
// Remove vehicle association only
await removeVehicleFromDocument({ docId: documentToDelete.id, vehicleId: id });
console.log('Document removed from vehicle');
}
// Invalidate queries to refresh data