From 7798068a03a88665a865e1ca61afbe23ac712fca Mon Sep 17 00:00:00 2001 From: Olav Stornes Date: Mon, 13 May 2024 18:41:16 +0200 Subject: [PATCH] handle result from merchant columns as an array fix #568 --- src/applications/item-pile-config/settings/merchant.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/item-pile-config/settings/merchant.svelte b/src/applications/item-pile-config/settings/merchant.svelte index 2d8b0abc..05c72199 100644 --- a/src/applications/item-pile-config/settings/merchant.svelte +++ b/src/applications/item-pile-config/settings/merchant.svelte @@ -80,7 +80,7 @@ { id: `merchant-columns-item-pile-config-${pileActor.id}` }, { title: localize("ITEM-PILES.Applications.MerchantColumnsEditor.TitleActor", { actor_name: pileActor.name }), } ).then((result) => { - pileData.merchantColumns = Array.isArray(result.merchantColumns) ? result.merchantColumns : []; + pileData.merchantColumns = Array.isArray(result) ? result : []; }); }