Skip to content

Commit

Permalink
Merge pull request #1854 from GW2Treasures/feature/homestead-material…
Browse files Browse the repository at this point in the history
…s-trend

Show price trend per default on homestead/materials page
  • Loading branch information
darthmaim authored Dec 11, 2024
2 parents a836d8a + 85e14d9 commit dee4814
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions apps/web/app/[language]/homestead/materials/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,21 +142,12 @@ const RefinedMaterial: FC<RefinedMaterialProps> = ({ id, material, efficiencies,
<Sources.Column id="buyPrice" title={<Trans id="itemTable.column.buyPrice"/>} sortBy={({ item }) => item?.buyPrice} align="right" hidden>
{({ item }) => item && itemTableColumn.buyPrice(item, {})}
</Sources.Column>
<Sources.Column id="buyPriceTrend" title={<Trans id="itemTable.column.buyPriceTrend"/>} align="right" hidden>
<Sources.Column id="buyPriceTrend" title={<Trans id="itemTable.column.buyPriceTrend"/>} align="right">
{({ item }) => item && itemTableColumn.buyPriceTrend(item, {})}
</Sources.Column>
<Sources.Column id="buyQuantity" title={<Trans id="itemTable.column.buyQuantity"/>} sortBy={({ item }) => item?.buyQuantity} align="right" hidden>
{({ item }) => item && itemTableColumn.buyQuantity(item, {})}
</Sources.Column>
<Sources.Column id="sellPrice" title={<Trans id="itemTable.column.sellPrice"/>} sortBy={({ item }) => item?.sellPrice} align="right" hidden>
{({ item }) => item && itemTableColumn.sellPrice(item, {})}
</Sources.Column>
<Sources.Column id="sellPriceTrend" title={<Trans id="itemTable.column.sellPriceTrend"/>} align="right" hidden>
{({ item }) => item && itemTableColumn.sellPriceTrend(item, {})}
</Sources.Column>
<Sources.Column id="sellQuantity" title={<Trans id="itemTable.column.sellQuantity"/>} sortBy={({ item }) => item?.sellQuantity} align="right" hidden>
{({ item }) => item && itemTableColumn.sellQuantity(item, {})}
</Sources.Column>
<Sources.Column
id="buyPricePer"
title={<Tip tip={<Trans id="homestead.materials.column.buyPricePer.description"/>}><Trans id="homestead.materials.column.buyPricePer"/></Tip>}
Expand All @@ -174,6 +165,15 @@ const RefinedMaterial: FC<RefinedMaterialProps> = ({ id, material, efficiencies,
</Tip>
)}
</Sources.Column>
<Sources.Column id="sellPrice" title={<Trans id="itemTable.column.sellPrice"/>} sortBy={({ item }) => item?.sellPrice} align="right" hidden>
{({ item }) => item && itemTableColumn.sellPrice(item, {})}
</Sources.Column>
<Sources.Column id="sellPriceTrend" title={<Trans id="itemTable.column.sellPriceTrend"/>} align="right">
{({ item }) => item && itemTableColumn.sellPriceTrend(item, {})}
</Sources.Column>
<Sources.Column id="sellQuantity" title={<Trans id="itemTable.column.sellQuantity"/>} sortBy={({ item }) => item?.sellQuantity} align="right" hidden>
{({ item }) => item && itemTableColumn.sellQuantity(item, {})}
</Sources.Column>
<Sources.Column
id="sellPricePer"
title={<Tip tip={<Trans id="homestead.materials.column.sellPricePer.description"/>}><Trans id="homestead.materials.column.sellPricePer"/></Tip>}
Expand Down

0 comments on commit dee4814

Please sign in to comment.