From 9377f71d601e10b6860b6f302680644fc5b9daf2 Mon Sep 17 00:00:00 2001 From: jedi Date: Wed, 22 May 2024 22:10:01 +0200 Subject: [PATCH] stash --- web/src/components/inputs/FormatedText.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/src/components/inputs/FormatedText.vue b/web/src/components/inputs/FormatedText.vue index 6c137d0..ea52e94 100644 --- a/web/src/components/inputs/FormatedText.vue +++ b/web/src/components/inputs/FormatedText.vue @@ -20,8 +20,8 @@ export default { emits: ['input'], methods: { rawhtml(value) { - if (typeof format === 'function') { - return format(value); + if (typeof this.format === 'function') { + return this.format(value); } else { return value; }