From cfe31502ce9ce78ea21e0c38b97236bd20af4b5b Mon Sep 17 00:00:00 2001 From: thisismattmiller Date: Thu, 25 Jun 2026 13:23:25 -0400 Subject: [PATCH] make quick select change reflect in the LiteralLang modal as well --- src/components/panels/edit/modals/LiteralLang.vue | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/components/panels/edit/modals/LiteralLang.vue b/src/components/panels/edit/modals/LiteralLang.vue index 740b3fc4b..3e3f496d0 100644 --- a/src/components/panels/edit/modals/LiteralLang.vue +++ b/src/components/panels/edit/modals/LiteralLang.vue @@ -211,10 +211,16 @@ setLanguageFromQuickSelect(langStr, v){ - console.log(langStr,v) - this.profileStore.setValueLiteral(this.literalLangInfo.componentGuid,v['@guid'],this.literalLangInfo.propertyPath,v.value,langStr) + // update the reactive store state so the modal reflects the new value + for (let sValue of this.literalLangInfo.values){ + if (sValue['@guid'] == v['@guid']){ + sValue['@language'] = langStr + } + } + + this.lastUsedLangScript = langStr },