From 496e5f0259652f69ab723edc49af0fa55d17ea39 Mon Sep 17 00:00:00 2001 From: Mathieu Jaumotte Date: Tue, 1 Feb 2022 19:13:25 +0100 Subject: [PATCH] homepage: fix counter appareance on MyCustoms vue tab --- .../public/vuejs/HomepageWidget/MyCustoms.vue | 38 +++++++++++++++---- 1 file changed, 31 insertions(+), 7 deletions(-) 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 @@
@@ -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