3
0

Remove try catch from content base computed

This commit is contained in:
Jože Fortun 2024-12-12 16:44:16 +01:00
parent efb8a908ca
commit 8fc97c60e2

View File

@ -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 ''
}
}, },
}, },
} }