Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Fix recovery view: show recording view instead of non-existent preview view

Murtaza Nasir835533ca1c06
diff --git a/static/js/app.modular.js b/static/js/app.modular.js
index 2aca12d1..a050b6f8 100644
--- a/static/js/app.modular.js
+++ b/static/js/app.modular.js
@@ -1737,7 +1737,7 @@ document.addEventListener('DOMContentLoaded', async () => {
const recovered = await audioComposable.recoverRecordingFromDB();
if (recovered) {
- currentView.value = 'preview';
+ currentView.value = 'recording';
showToast('Recording recovered successfully', 'success');
} else {
showToast('Failed to recover recording', 'error');