mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 09:44:26 +08:00
fix cannot show localized 'incomplete or incorrect submission' error message when locale is not english
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ export function getLocalizedError(error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
message: error.errorMessage
|
message: `error.${error.errorMessage}`
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user