1 parent 8a1e4be commit b9feb2dCopy full SHA for b9feb2d
1 file changed
src/runtime/components/NUsersPasswordStrengthIndicator.vue
@@ -85,7 +85,7 @@ const validationRules = computed(() => {
85
const resolveTranslation = (message: string) => {
86
if (!message) return ''
87
if (message.includes('|')) {
88
- const [key, paramStr] = message.split('|')
+ const [key = '', paramStr] = message.split('|')
89
const params = paramStr ? paramStr.split(',') : []
90
return t(key, params)
91
}
0 commit comments