Skip to content

Commit

Permalink
Merge pull request #570 from OlavStornes/ods_merchantcolumn_568
Browse files Browse the repository at this point in the history
handle result from merchant columns as an array
  • Loading branch information
Haxxer authored May 19, 2024
2 parents 9fe3059 + 7798068 commit 6ad08ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/item-pile-config/settings/merchant.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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 : [];
});
}
Expand Down

0 comments on commit 6ad08ce

Please sign in to comment.