Update default.vue

pull/3420/head
Tuğçe Küçükoğlu 2022-12-19 15:44:12 +03:00
parent fe50da913e
commit fdf4871211
1 changed files with 13 additions and 18 deletions

View File

@ -41,25 +41,20 @@ export default {
});
}
},
/* watch: {
watch: {
$route: {
immediate: true,
handler(to) {
// Todo: Check this again
if (!process.client || typeof window === 'undefined') {
return
return;
}
window['gtag']('config', 'UA-93461466-1', {
'page_path': '/primevue' + to.path
});
this.sidebarActive = false;
DomHandler.removeClass(document.body, 'blocked-scroll');
this.$toast.removeAllGroups();
}
}
}, */
},
methods: {
onMenuButtonClick() {
if (this.sidebarActive) {