@@ -27,6 +27,9 @@ export default {
methods: {
checkRichText(text) {
+ if (!text) {
+ return false
+ }
text = text.replaceAll('<p>', '').replaceAll('</p>', '').replaceAll('<br>', '').replaceAll(' ', '').trim();
return text.length > 0 ? true : false
},