diff --git a/src/components/NcAppNavigation/NcAppNavigation.vue b/src/components/NcAppNavigation/NcAppNavigation.vue index 04bdfbfa37..55f561de21 100644 --- a/src/components/NcAppNavigation/NcAppNavigation.vue +++ b/src/components/NcAppNavigation/NcAppNavigation.vue @@ -229,13 +229,16 @@ export default { }, watch: { - isMobile() { - this.open = !this.isMobile + isMobile(value) { + this.open = !value this.toggleFocusTrap() }, - open() { + open(value) { this.toggleFocusTrap() + emit('navigation-toggled', { + open: value, + }) }, },