You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file loading error occurs in the loadFile function in src/stores/logFileStore.ts, the UI state is reset to UNOPENED, but the filename and log data aren't reset to their default values.
Proposed solution
Add the following lines to the error handling block in the loadFile function:
Description
When a file loading error occurs in the
loadFile
function insrc/stores/logFileStore.ts
, the UI state is reset toUNOPENED
, but the filename and log data aren't reset to their default values.Proposed solution
Add the following lines to the error handling block in the
loadFile
function:This will ensure the UI is fully reset to its initial state when a file loading error occurs.
Additional context
This issue was identified during PR #293 but was separated to keep that PR focused on its main objective.
Original comment: #293 (comment)
The text was updated successfully, but these errors were encountered: