visualization fix pro/scen

This commit is contained in:
Florinda
2024-10-23 16:57:55 +02:00
parent 6b1eb70239
commit b115712698
6 changed files with 19 additions and 3 deletions

View File

@@ -28,9 +28,12 @@ export const UserPrefStore = defineStore('userpref_store', () => {
async function updateSelectedProject(project) {
try {
loadingStore.user_loading = true;
selectedApp.value = null;
// Aspetta che l'aggiornamento del progetto finisca
await ProjectService.updateSelectedProject(project);
} catch (error) {
console.error("Errore durante l'aggiornamento del progetto:", error);