From 0db21e9f02e4959836b432cba535e0438d2f7367 Mon Sep 17 00:00:00 2001 From: Leonidas Arvanitis Date: Wed, 5 Aug 2020 00:31:06 +0300 Subject: [PATCH] fix(editor): extraneous semis --- src/components/QuasarTiptap.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/QuasarTiptap.vue b/src/components/QuasarTiptap.vue index 1b4a733..cc37d66 100644 --- a/src/components/QuasarTiptap.vue +++ b/src/components/QuasarTiptap.vue @@ -262,15 +262,15 @@ export default { }, // content getContent () { - let content = this.content || ''; + let content = this.content || '' if (content && content.type) { - return content; // parsed json + return content // parsed json } if (typeof content === 'string') { try { return JSON.parse(content) // json } catch (e) { - return content; // html + return content // html } } },