Develop scenario/scenario executions chat
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user