From 0966750e4ea30412b0ecc6cc93263882ae825c37 Mon Sep 17 00:00:00 2001 From: Grigory Vodyanov Date: Wed, 20 Dec 2023 19:54:07 +0100 Subject: [PATCH] Enh/Enhance group information display Signed-off-by: Grigory V Fix/avoid empty div Co-authored-by: Hamza <40746210+hamza221@users.noreply.github.com> Signed-off-by: Grigory V Fix lint complaints Signed-off-by: Grigory Vodyanov Enh/Enhance group information display --- src/components/Properties/PropertyGroups.vue | 22 +++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/components/Properties/PropertyGroups.vue b/src/components/Properties/PropertyGroups.vue index 55abd064..d00a9d6b 100644 --- a/src/components/Properties/PropertyGroups.vue +++ b/src/components/Properties/PropertyGroups.vue @@ -34,14 +34,13 @@
- {{ t('contacts', 'No results') }} -

- {{ localValue.length === 0 ? t('contacts','None'): localValue.toString() }} -

+
+ {{ t('contacts','None') }} + +
+ + {{ group }}{{ index === (localValue.length - 1) ? '' : ', ' }} + +
+
@@ -162,3 +167,10 @@ export default { }, } + +