first commit
This commit is contained in:
@@ -9,8 +9,25 @@ import AppProfileMenu from './AppProfileMenu.vue';
|
||||
const auth = useAuth();
|
||||
|
||||
const router = useRouter();
|
||||
const props = defineProps(['page']);
|
||||
|
||||
|
||||
const { onMenuToggle, toggleDarkMode, isDarkTheme } = useLayout();
|
||||
|
||||
/*const fetchData = async () => {
|
||||
try {
|
||||
const response = await axios.get('/userApplications');
|
||||
items.value = response.data;
|
||||
} catch (error) {
|
||||
console.error('Errore durante il recupero dei dati:', error);
|
||||
}
|
||||
};
|
||||
|
||||
// Richiama il metodo all'inizializzazione del componente
|
||||
onMounted(() => {
|
||||
fetchData();
|
||||
});*/
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -44,6 +61,7 @@ const { onMenuToggle, toggleDarkMode, isDarkTheme } = useLayout();
|
||||
|
||||
<div class="layout-topbar-actions">
|
||||
<div class="layout-config-menu">
|
||||
|
||||
<button @click="router.push('/canvas')" class="layout-topbar-action" >
|
||||
<i class="pi pi-file-edit"></i>
|
||||
</button >
|
||||
|
||||
Reference in New Issue
Block a user