⚡️ Make loadStatus asynchronous in onMounted lifecycle method
This commit is contained in:
@@ -250,8 +250,8 @@ watch(selectedFile, () => {
|
||||
});
|
||||
|
||||
// Lifecycle
|
||||
onMounted(() => {
|
||||
loadStatus();
|
||||
onMounted(async () => {
|
||||
await loadStatus();
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user