mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
Fix argument usage in localizeString
method for UserRenderBoxBadge
component
Adjusted `localizeString` method to accept a `label` parameter, ensuring proper localization of `user_job.label` and `main_scope.name`. Also made minor syntax adjustments to improve readability.
This commit is contained in:
@@ -22,8 +22,8 @@ import { localizeString } from "ChillMainAssets/lib/localizationHelper/localizat
|
|||||||
export default {
|
export default {
|
||||||
name: "UserRenderBoxBadge",
|
name: "UserRenderBoxBadge",
|
||||||
methods: {
|
methods: {
|
||||||
localizeString() {
|
localizeString(label) {
|
||||||
return localizeString;
|
return localizeString(label);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
props: ["user"],
|
props: ["user"],
|
||||||
|
Reference in New Issue
Block a user