diff --git a/resources/js/Shared/MainMenu.vue b/resources/js/Shared/MainMenu.vue
index 10d540e1..2aea7cee 100644
--- a/resources/js/Shared/MainMenu.vue
+++ b/resources/js/Shared/MainMenu.vue
@@ -187,9 +187,6 @@ const miscNavigation = computed(() => [
},
].filter(item => item.can))
-const refreshablePages = ['Dashboard', 'Calendar', 'VacationRequest/IndexForApprovers']
-const refreshableHrefs = ['/vacation/requests', '/calendar']
-
const reloadPage = () => {
window.location.reload()
}
@@ -302,7 +299,7 @@ const emit = defineEmits(['open'])
:key="item.name"
:class="[$page.component.startsWith(item.section) ? 'bg-blumilk-800 text-white' : 'text-blumilk-100 hover:text-white hover:bg-blumilk-600', 'group flex items-center p-2 text-base font-medium rounded-md']"
:href="item.href"
- @click="sidebarOpen = false;refreshableHrefs.includes(item.href) ? emit('open') : null"
+ @click="sidebarOpen = false"
>