Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

fix(default-theme): usage of correct lifecycle hook in SwTopNavigation #1444

Merged
merged 1 commit into from
Apr 22, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/default-theme/src/components/SwTopNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default {
this.countVisibleCategories()
},

unmounted() {
beforeDestroy() {
window.removeEventListener("resize", this.countVisibleCategories)
},

Expand Down