mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-22 23:53:48 +01:00
Merge pull request #4146 from LJNeon/office-size-fix
CORPORATION: Don't show repeat office size upgrade button
This commit is contained in:
commit
69eda4340e
@ -100,6 +100,7 @@ export function UpgradeOfficeSizeModal(props: IProps): React.ReactElement {
|
||||
cost={upgradeCost15}
|
||||
size={CorporationConstants.OfficeInitialSize * 5}
|
||||
/>
|
||||
{maxNum !== 1 && maxNum !== 5 && (
|
||||
<UpgradeSizeButton
|
||||
onClose={props.onClose}
|
||||
rerender={props.rerender}
|
||||
@ -108,6 +109,7 @@ export function UpgradeOfficeSizeModal(props: IProps): React.ReactElement {
|
||||
cost={upgradeCostMax}
|
||||
size={maxNum * CorporationConstants.OfficeInitialSize}
|
||||
/>
|
||||
)}
|
||||
</Box>
|
||||
</Modal>
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user