From add11c9548472396a7c4e2c483128de25380b616 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Marseault?= <22910497+Larsluph@users.noreply.github.com> Date: Tue, 10 Jan 2023 19:04:52 +0100 Subject: [PATCH] fix: Dashboard items not using $store.state reference (#601) --- src/components/Settings/Tabs/VueTorrent/Dashboard.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Settings/Tabs/VueTorrent/Dashboard.vue b/src/components/Settings/Tabs/VueTorrent/Dashboard.vue index ee661594..e382b738 100644 --- a/src/components/Settings/Tabs/VueTorrent/Dashboard.vue +++ b/src/components/Settings/Tabs/VueTorrent/Dashboard.vue @@ -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 } } }