set deletedAt to now when bulk delete

This commit is contained in:
Hongbo Wu 2023-09-21 22:06:21 +08:00
parent 47510c0785
commit 7bf3f1bbf4

View file

@ -480,6 +480,7 @@ export const updateLibraryItems = async (
break
case BulkActionType.Delete:
values = {
deletedAt: new Date(),
state: LibraryItemState.Deleted,
}
break