🔄 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
|
// Methods
|
||||||
async function loadStatus() {
|
async function loadStatus() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user