Commit cf1885b1 authored by MARCO Jonathan's avatar MARCO Jonathan
Browse files

馃攢 Merge branch 'release/3.0.32'

parents aab529f1 3e623b54
Pipeline #72555 passed with stage
in 14 seconds
{ {
"name": "@vue-unistra/formbuilder", "name": "@vue-unistra/formbuilder",
"version": "3.0.31", "version": "3.0.32",
"main": "dist/index.js", "main": "dist/index.js",
"files": [ "files": [
"dist/*", "dist/*",
......
...@@ -44,8 +44,7 @@ export const messagesGetter: GetterTree<FormState, RootState> = { ...@@ -44,8 +44,7 @@ export const messagesGetter: GetterTree<FormState, RootState> = {
prop: LocaleAttributes, prop: LocaleAttributes,
) => string => { ) => string => {
return (field, locale, prop): string => { return (field, locale, prop): string => {
const message = state.messages.locales[locale][field] as Locale; return (state.messages.locales[locale][field] as Locale)?.[prop] || '';
return message[prop] || '';
}; };
}, },
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment