Skip to content

Commit

Permalink
feat(side menu): add delete book
Browse files Browse the repository at this point in the history
  • Loading branch information
vbuglov committed Mar 12, 2024
1 parent a7b550b commit c0ccb50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions books-ui/.eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module.exports = {
],
rules: {
"no-multiple-empty-lines": ["error", {max: 2, "maxBOF": 0}],
"vue/order-in-components": "error",
"indent": ["error", 2],
"no-mixed-spaces-and-tabs": "error",
"vue/attribute-hyphenation": "off",
Expand Down
2 changes: 0 additions & 2 deletions books-ui/src/components/2_molecules/InteractivePopup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@ export default {
},
computed: {},
mounted() {
// Listen for clicks outside the dropdown
document.addEventListener("click", this.handleClickOutside);
},
beforeUnmount() {
// Remove click outside listener when component is unmounted
document.removeEventListener("click", this.handleClickOutside);
},
methods: {
Expand Down

0 comments on commit c0ccb50

Please sign in to comment.