diff --git a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyCustoms.vue b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyCustoms.vue
index 2a003b05f..5e9cb79df 100644
--- a/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyCustoms.vue
+++ b/src/Bundle/ChillMainBundle/Resources/public/vuejs/HomepageWidget/MyCustoms.vue
@@ -6,22 +6,34 @@
-
- {{ $tc('counter.unread_notifications', {n: counter.notifications }) }}
+
+ {{ counter.notifications }}
+
-
- {{ $tc('counter.assignated_courses', {n: counter.accompanyingCourses }) }}
+
+ {{ counter.accompanyingCourses }}
+
-
- {{ $tc('counter.assignated_actions', {n: counter.works }) }}
+
+ {{ counter.works }}
+
-
- {{ $tc('counter.assignated_evaluations', {n: counter.evaluations }) }}
+
+ {{ counter.evaluations }}
+
-
- {{ $tc('counter.alert_tasks', {n: counter.tasksAlert }) }}
+
+ {{ counter.tasksAlert }}
+
-
- {{ $tc('counter.warning_tasks', {n: counter.tasksWarning }) }}
+
+ {{ counter.tasksWarning }}
+
@@ -54,6 +66,13 @@ import Masonry from 'masonry-layout/masonry';
export default {
name: "MyCustoms",
+ data() {
+ return {
+ counterClass: {
+ counter: true //hack to pass class 'counter' in i18n-t
+ }
+ }
+ },
computed: {
...mapGetters(['counter']),
noResults() {
@@ -67,11 +86,16 @@ export default {
}
-
\ No newline at end of file