Skip to content

Commit 1d57e53

Browse files
committed
make fork available publicly
1 parent e1ec274 commit 1d57e53

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/view/recorder_toolbar.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ const RecorderToolbar = memo(
219219
}
220220

221221
const otherActionsItems: PopoverMenuItem[] = _.compact([
222-
config.debug && {
222+
{
223223
title: 'Fork session',
224224
icon: 'codicon codicon-repo-forked',
225225
disabled: props.playing || props.recording,
@@ -412,17 +412,15 @@ const RecorderToolbar = memo(
412412
pointOnPopover="top-right"
413413
items={otherActionsItems}
414414
/>
415-
{config.debug && (
416-
<ForkSessionPopover
417-
popover={forkSessionPopover}
418-
anchor={otherActionsButtonRef}
419-
pointOnAnchor="bottom-left"
420-
pointOnPopover="top-left"
421-
handle={props.sessionHandle}
422-
workspace={props.sessionWorkspace}
423-
onConfirm={forkSession}
424-
/>
425-
)}
415+
<ForkSessionPopover
416+
popover={forkSessionPopover}
417+
anchor={otherActionsButtonRef}
418+
pointOnAnchor="bottom-left"
419+
pointOnPopover="top-left"
420+
handle={props.sessionHandle}
421+
workspace={props.sessionWorkspace}
422+
onConfirm={forkSession}
423+
/>
426424
{props.selectionStart !== undefined && (
427425
<ChapterPopover
428426
chapterTitle={props.selectedChapterTitle}

0 commit comments

Comments
 (0)