diff --git a/client/src/components/book-navigation/SubNavigationItem.vue b/client/src/components/book-navigation/SubNavigationItem.vue index e1bcd649..e6f4c35b 100644 --- a/client/src/components/book-navigation/SubNavigationItem.vue +++ b/client/src/components/book-navigation/SubNavigationItem.vue @@ -29,6 +29,12 @@ } }, + watch: { + $route(to, from) { + this.show = false; + } + }, + methods: { close() { this.show = false;