post tab refactoring
This commit is contained in:
+5
-3
@@ -761,9 +761,11 @@ function private.unit_vendor_price(item_key)
|
|||||||
end
|
end
|
||||||
|
|
||||||
function private.update_historical_value_button()
|
function private.update_historical_value_button()
|
||||||
local historical_value = Aux.history.value(selected_item.key)
|
if selected_item then
|
||||||
private.historical_value_button.amount = historical_value
|
local historical_value = Aux.history.value(selected_item.key)
|
||||||
private.historical_value_button:SetText(Aux.money.to_string(historical_value or 0, true, nil, 3))
|
private.historical_value_button.amount = historical_value
|
||||||
|
private.historical_value_button:SetText(Aux.money.to_string(historical_value or 0, true, nil, 3))
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function private.set_item(item)
|
function private.set_item(item)
|
||||||
|
|||||||
Reference in New Issue
Block a user