Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/hooks/useDeleteImages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const useDeleteImages = () => {
showInfoDialog({
title: 'Some Files Could Not Be Deleted',
message: `The following file(s) could not be deleted from your device: ${failedPaths
.map((path) => path.split('/').pop())
.map((path) => path.split(/[/\\]/).pop())
.join(', ')}`,
variant: 'error',
}),
Expand Down
Loading