Skip to content

Commit

Permalink
fix: removeItem in mixin.base-item.js does not take into account the …
Browse files Browse the repository at this point in the history
…contextId (close #950)
  • Loading branch information
cnouguier committed Sep 19, 2024
1 parent 9ad2ed0 commit 86a78d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/client/mixins/mixin.base-item.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ export const baseItem = {
flat: true
}
}).onOk(() => {
this.$api.getService(this.service).remove(this.item._id)
this.$api.getService(this.service, this.contextId).remove(this.item._id)
})
} else {
this.$api.getService(this.service).remove(this.item._id)
this.$api.getService(this.service, this.contextId).remove(this.item._id)
}
},
exportItem () {
Expand Down

0 comments on commit 86a78d4

Please sign in to comment.