Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ function ToastBubble({
const isTop = index === total - 1;

const count = group.sessionIds.length;
const undoLabel = group.isBatch ? `Restore all (${count})` : "Undo";
const deleteLabel = group.isBatch ? `Delete all (${count})` : "Delete";
const undoLabel = group.isBatch ? "Restore all" : "Undo";
const deleteLabel = group.isBatch ? "Delete all" : "Delete";

return (
<motion.div
Expand Down
6 changes: 5 additions & 1 deletion apps/desktop/src/store/zustand/timeline-selection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,12 @@ export const useTimelineSelection = create<TimelineSelectionState>(
anchorId: filtered.length > 0 ? anchorId : null,
});
} else {
const base =
selectedIds.length === 0 && anchorId && anchorId !== id
? [anchorId]
: selectedIds;
set({
selectedIds: [...selectedIds, id],
selectedIds: [...base, id],
anchorId: anchorId ?? id,
});
}
Expand Down
Loading