Skip to content

Commit

Permalink
Merge pull request #4056 from timongh/patch-1
Browse files Browse the repository at this point in the history
Fix UserItem.vue
  • Loading branch information
the1812 committed Mar 11, 2023
2 parents f836a62 + 67ca5ac commit 426400a
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ export default Vue.extend({
if (this.config.getSettings) {
this.settings = this.config.getSettings(this.config.item)
}
Toast.mini(this.$refs.removeConfirmTemplate, this.$refs.removeIcon, {
trigger: 'click',
hideOnClick: true,
})
if (this.config.isUserItem) {
Toast.mini(this.$refs.removeConfirmTemplate, this.$refs.removeIcon, {
trigger: 'click',
hideOnClick: true,
})
}
},
methods: {
async removeItem() {
Expand Down

0 comments on commit 426400a

Please sign in to comment.