Improve conditionLabel method in BranchView component to handle edge cases and ensure accurate state representation. Added checks for null and undefined values, and clarified the return value for zero or negative conditions.
This commit is contained in:
@@ -2645,6 +2645,7 @@ class FalukantService extends BaseService {
|
||||
mayProduce: director.mayProduce,
|
||||
maySell: director.maySell,
|
||||
mayStartTransport: director.mayStartTransport,
|
||||
mayRepairVehicles: director.mayRepairVehicles,
|
||||
region: director.character.region?.name || null,
|
||||
wishedIncome,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user