fix: BIG-193 purchase item description does fill on item entries table.

This commit is contained in:
a.bouhuolia
2021-12-25 19:40:14 +02:00
parent 6975ebb9e7
commit 1d505db7bf
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ export function useFetchItemRow({ landedCost, itemType, notifyNewRow }) {
const description =
itemType === ITEM_TYPE.PURCHASABLE
? item.cost_description
? item.purchase_description
: item.sell_description;
// Detarmines whether the landed cost checkbox should be disabled.