Update application logic for retrieving docs

This commit is contained in:
2025-03-19 16:52:54 +01:00
parent 4a43ff984a
commit 0f93796b66
3 changed files with 15 additions and 25 deletions

View File

@@ -122,11 +122,11 @@ const openProject = async (project) => {
try {
// Esegui l'update del progetto
await userPrefStore.updateSelectedProject(project);
console.log('Progetto aggiornato e dati utente ricaricati');
console.log('Update project and user data');
router.push({ path: '/ksdocuments' });
} catch (error) {
console.error('Errore nel cambio progetto:', error);
console.error('Error while changing project:', error);
}

View File

@@ -156,7 +156,7 @@
<p v-if="selectedFile" class="text-center">You can execute the ingestion for the following file:</p>
<p v-if="selectedFile" class="text-center">{{ selectedFile.name }}</p>
<div class="flex justify-center mt-4">
<Button type="submit" label="Ingest" :fluid="false"></Button>
<Button :disabled="loadingStore.isLoading" type="submit" label="Ingest" :fluid="false"></Button>
</div>
</div>
<div class="flex justify-between pt-6">