diff --git a/frontend/src/components/UI/TheAppBar.vue b/frontend/src/components/UI/TheAppBar.vue index 22e5a6d3c..5404ae6d4 100644 --- a/frontend/src/components/UI/TheAppBar.vue +++ b/frontend/src/components/UI/TheAppBar.vue @@ -88,7 +88,7 @@ export default { this.$router.push(`/recipe/${slug}`); }, openSidebar() { - this.$refs.theSidebar.forceOpen(); + this.$refs.theSidebar.toggleSidebar(); }, }, }; diff --git a/frontend/src/components/UI/TheSidebar.vue b/frontend/src/components/UI/TheSidebar.vue index 9a0088b99..d96481556 100644 --- a/frontend/src/components/UI/TheSidebar.vue +++ b/frontend/src/components/UI/TheSidebar.vue @@ -1,12 +1,6 @@