From 924e774e32fdbe94e53ddbd21335a3edf4927788 Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Mon, 23 Sep 2024 18:10:58 +0200 Subject: [PATCH] Restructure error computation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since Codex wants the status and messages as separate props, but we compute them at the same time, let’s have the computed return an object with both props. Bug: T370054 --- src/components/LemmaInput.vue | 34 ++++++++++++++++++++++------------ 1 file changed, 22 insertions(+), 12 deletions(-) diff --git a/src/components/LemmaInput.vue b/src/components/LemmaInput.vue index 7833aceb..7f77697a 100644 --- a/src/components/LemmaInput.vue +++ b/src/components/LemmaInput.vue @@ -1,5 +1,5 @@ @@ -53,8 +63,8 @@ export default {