Skip to content

Commit

Permalink
don't show save and create generator buttons when recording
Browse files Browse the repository at this point in the history
  • Loading branch information
going-confetti committed Jun 27, 2024
1 parent 625f105 commit ec7f331
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Recorder/RecordingButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function RecordingControls({
<Icon recording={isRecording} loading={isLoading} />
{isRecording ? 'Stop Recording' : 'Start Recording'}
</Button>
{!isEmpty && (
{!isRecording && !isEmpty && (
<>
<Button onClick={handleSave}>Save to HAR</Button>
<Button onClick={handleCreateTestGenerator}>
Expand Down

0 comments on commit ec7f331

Please sign in to comment.