From 8906fb52b1b40d480f027d5d80514b60b2c61b3f Mon Sep 17 00:00:00 2001 From: Tobias Klika Date: Tue, 8 Feb 2022 14:45:04 +0100 Subject: [PATCH] =?UTF-8?q?fixes=20+=20=C3=B3=C3=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- zero.Backoffice.UI/app/components/ui-pick.vue | 2 +- .../app/components/ui-property.vue | 7 ++++++- zero.Backoffice.UI/app/editor/compile.ts | 4 ++-- zero.Backoffice.UI/app/editor/editor-field.ts | 4 ++-- .../app/editor/ui-editor-component.vue | 18 +++++++++--------- .../media/components/ui-mediapicker.vue | 1 + zero.Backoffice.UI/app/utils/arrays.ts | 7 ++++++- 7 files changed, 27 insertions(+), 16 deletions(-) diff --git a/zero.Backoffice.UI/app/components/ui-pick.vue b/zero.Backoffice.UI/app/components/ui-pick.vue index b086a6ed..253dde33 100644 --- a/zero.Backoffice.UI/app/components/ui-pick.vue +++ b/zero.Backoffice.UI/app/components/ui-pick.vue @@ -223,7 +223,7 @@ if (this.previews.length > 0) { - html += ': ' + this.previews.map(p => p[this.configuration.keys.name]).join(', ') + ''; + html += (html ? ': ' : '') + '' + this.previews.map(p => p[this.configuration.keys.name]).join(', ') + ''; } return html; diff --git a/zero.Backoffice.UI/app/components/ui-property.vue b/zero.Backoffice.UI/app/components/ui-property.vue index 9778cd74..3d3ea408 100644 --- a/zero.Backoffice.UI/app/components/ui-property.vue +++ b/zero.Backoffice.UI/app/components/ui-property.vue @@ -1,7 +1,7 @@