Remove try catch from content base computed
This commit is contained in:
parent
efb8a908ca
commit
8fc97c60e2
@ -20,7 +20,6 @@ export default {
|
|||||||
|
|
||||||
computed: {
|
computed: {
|
||||||
contentBody () {
|
contentBody () {
|
||||||
try {
|
|
||||||
const { body = '' } = this.options
|
const { body = '' } = this.options
|
||||||
|
|
||||||
return evaluatePrefilter(body, {
|
return evaluatePrefilter(body, {
|
||||||
@ -30,10 +29,6 @@ export default {
|
|||||||
ownerID: (this.record || {}).ownedBy || NoID,
|
ownerID: (this.record || {}).ownedBy || NoID,
|
||||||
userID: (this.$auth.user || {}).userID || NoID,
|
userID: (this.$auth.user || {}).userID || NoID,
|
||||||
})
|
})
|
||||||
} catch (e) {
|
|
||||||
this.toastErrorHandler(e)
|
|
||||||
return ''
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user