fix: Dashboard items not using $store.state reference (#601)

This commit is contained in:
Rémi Marseault 2023-01-10 19:04:52 +01:00 committed by GitHub
parent 82d443fcbb
commit add11c9548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,8 @@ export default {
CompletedOn: i18n.t(`${localePrefix}.completion_on`)
}
return properties.map(property => ({ ...property, label: localeMap[property.name] }))
properties.forEach(property => property.label = localeMap[property.name])
return properties
}
}
}