Merge pull request #6682 from aignatov-bio/ai-sci-fix-sidebar

Fix sidebar
This commit is contained in:
aignatov-bio 2023-11-22 09:42:08 +01:00 committed by GitHub
commit 89584365cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -295,7 +295,7 @@ export default {
}, },
beforeUnmount() { beforeUnmount() {
delete window.repositoryItemSidebarComponent; delete window.repositoryItemSidebarComponent;
document.removeEventListener('click', this.handleDocumentClick); document.removeEventListener('click', this.handleOutsideClick);
}, },
methods: { methods: {
handleOutsideClick(event) { handleOutsideClick(event) {