Develop scenario/scenario executions chat

This commit is contained in:
2025-03-18 17:11:13 +01:00
parent 38b21032e7
commit 49b0863a60
6 changed files with 737 additions and 745 deletions

View File

@@ -25,18 +25,22 @@ const model = ref([
{
label: 'Canvas',
items: [{ label: 'New Canvas', icon: 'pi pi-fw pi-pencil', to: '/mdcanvas' }]
}
},
{
label: 'Chat',
items: [{ label: 'Chat', icon: 'pi pi-fw pi-comments', to: '/chat' }]
}
]);
onMounted(() => {
if(userPrefStore.user.role == 'ADMIN'){
model.value.push({
label: 'Chat',
items: [{ label: 'Chat', icon: 'pi pi-fw pi-comments', to: '/chat' }]
});
}
});
// onMounted(() => {
// if(userPrefStore.user.role == 'ADMIN'){
// model.value.push({
// label: 'Chat',
// items: [{ label: 'Chat', icon: 'pi pi-fw pi-comments', to: '/chat' }]
// });
// }
// });
// Funzione per aggiornare la sezione "Your Applications" in base a selectedApp
function updateApplicationsMenu() {