mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
BUGFIX: Missing tooltip when doing faction work (#1679)
This commit is contained in:
parent
dc328b14df
commit
2fa8dd41ac
@ -378,6 +378,7 @@ function Work(): React.ReactElement {
|
||||
|
||||
if (isFactionWork(Player.currentWork)) {
|
||||
const factionWork = Player.currentWork;
|
||||
details = <>Doing {factionWork.factionWorkType} work</>;
|
||||
header = (
|
||||
<>
|
||||
Working for <strong>{factionWork.factionName}</strong>
|
||||
@ -395,11 +396,7 @@ function Work(): React.ReactElement {
|
||||
const companyWork = Player.currentWork;
|
||||
const job = Player.jobs[companyWork.companyName];
|
||||
if (!job) return <></>;
|
||||
details = (
|
||||
<>
|
||||
{job} at <strong>{companyWork.companyName}</strong>
|
||||
</>
|
||||
);
|
||||
details = <>{job}</>;
|
||||
|
||||
header = (
|
||||
<>
|
||||
|
Loading…
Reference in New Issue
Block a user