mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-19 04:35:46 +01:00
feat(corp): don't show repeat office size upgrade button
This commit is contained in:
parent
f43d232928
commit
4aed5da4ee
@ -100,14 +100,16 @@ export function UpgradeOfficeSizeModal(props: IProps): React.ReactElement {
|
|||||||
cost={upgradeCost15}
|
cost={upgradeCost15}
|
||||||
size={CorporationConstants.OfficeInitialSize * 5}
|
size={CorporationConstants.OfficeInitialSize * 5}
|
||||||
/>
|
/>
|
||||||
<UpgradeSizeButton
|
{maxNum !== 1 && maxNum !== 5 && (
|
||||||
onClose={props.onClose}
|
<UpgradeSizeButton
|
||||||
rerender={props.rerender}
|
onClose={props.onClose}
|
||||||
office={props.office}
|
rerender={props.rerender}
|
||||||
corp={corp}
|
office={props.office}
|
||||||
cost={upgradeCostMax}
|
corp={corp}
|
||||||
size={maxNum * CorporationConstants.OfficeInitialSize}
|
cost={upgradeCostMax}
|
||||||
/>
|
size={maxNum * CorporationConstants.OfficeInitialSize}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</Box>
|
</Box>
|
||||||
</Modal>
|
</Modal>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user