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
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
import { format } from 'date-fns';
import OpenFolderButton from '$lib/components/OpenFolderButton.svelte';
import { PATHS } from '$lib/constants/paths';
import { settings } from '$lib/stores/settings.svelte';

/**
* Returns a cell renderer for a date/time column using date-fns format.
Expand Down Expand Up @@ -505,8 +506,7 @@
},
onError: (error) => {
rpc.notify.error.execute({
title:
'Error copying transcripts to clipboard',
title: 'Error copying transcripts to clipboard',
description: error.message,
action: { type: 'more-details', error: error },
});
Expand Down Expand Up @@ -560,7 +560,13 @@
{/if}

<OpenFolderButton
getFolderPath={PATHS.DB.RECORDINGS}
getFolderPath={async () => {
// Use the configured output folder if set, otherwise use default
return (
settings.value['recording.cpal.outputFolder'] ??
(await PATHS.DB.RECORDINGS())
);
}}
tooltipText="Open recordings folder"
/>

Expand Down
Loading