Fix #83: Prev Records - ReferenceError durationStr out of scope #87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "batch/83"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #83
The loadPreviousRecordings map() callback used durationStr which was only defined in the outer scope. Since the inner map() creates a new closure scope, durationStr was undefined → caught as "Failed to load."
Fix: define folderDurationStr locally inside the map() callback.