🔄 Watch selectedFile changes to trigger file loading
This commit is contained in:
@@ -422,6 +422,13 @@ useKeyboardShortcuts({
|
||||
}
|
||||
});
|
||||
|
||||
// Watch selectedFile changes to load the file
|
||||
watch(selectedFile, (newFile) => {
|
||||
if (newFile) {
|
||||
loadFile();
|
||||
}
|
||||
});
|
||||
|
||||
// Methods
|
||||
async function loadStatus() {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user