mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-19 14:13:48 +01:00
Merge pull request #3682 from nickofolas/fix/unavailable-augs-color
AUGMENTATIONS: Use disabled text color for non-buyable augs
This commit is contained in:
commit
b10f11b390
@ -219,7 +219,10 @@ export function PurchasableAugmentation(props: IPurchasableAugProps): React.Reac
|
||||
textOverflow: "ellipsis",
|
||||
whiteSpace: "nowrap",
|
||||
overflow: "hidden",
|
||||
color: props.owned ? Settings.theme.disabled : Settings.theme.primary,
|
||||
color:
|
||||
props.owned || !props.parent.canPurchase(props.parent.player, aug)
|
||||
? Settings.theme.disabled
|
||||
: Settings.theme.primary,
|
||||
}}
|
||||
>
|
||||
{aug.name}
|
||||
|
Loading…
Reference in New Issue
Block a user