From acff0eb31ff64810525dc1d8ae9083af6229ba54 Mon Sep 17 00:00:00 2001 From: Andrey Sobolev Date: Tue, 16 May 2023 18:17:50 +0700 Subject: [PATCH] UBER-136: Fix Exception with custom attributes Signed-off-by: Andrey Sobolev --- plugins/view-resources/src/components/StringPresenter.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/view-resources/src/components/StringPresenter.svelte b/plugins/view-resources/src/components/StringPresenter.svelte index 3275140bbcd..1e2b746e305 100644 --- a/plugins/view-resources/src/components/StringPresenter.svelte +++ b/plugins/view-resources/src/components/StringPresenter.svelte @@ -26,7 +26,7 @@ if (value === undefined) return let str = '' if (Array.isArray(value)) { - str = value.reduce((acc, curr, i) => (acc += i === 0 ? curr : ` ${curr}`)) + str = value.reduce((acc, curr, i) => (acc += i === 0 ? curr : ` ${curr}`), '') } else { str = value }