Skip to content

Commit

Permalink
fix(ui): Uncaught (in promise) TypeError: Cannot read properties of n…
Browse files Browse the repository at this point in the history
…ull (reading '_id') at Proxy.updateCollectionItem (FolderPanel.vue:105:46) - occurs when closing folder panel
  • Loading branch information
flawiddsouza committed Dec 12, 2024
1 parent 780afdd commit 28a637b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/ui/src/components/FolderPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ export default {
collectionItemToEdit: {
deep: true,
handler() {
this.updateCollectionItem(this.collectionItemToEdit)
if(this.collectionItemToEdit) {
this.updateCollectionItem(this.collectionItemToEdit)
}
}
}
},
Expand Down

0 comments on commit 28a637b

Please sign in to comment.