New source found from dndbeyond.com
This commit is contained in:
+6
-6
@@ -57,15 +57,15 @@ export default class VehicleBlockPrimaryAttributes extends React.PureComponent<P
|
||||
let showFullHitPointInfo: boolean = !shouldCoalesce;
|
||||
|
||||
currentHpNode = (
|
||||
<React.Fragment>
|
||||
<>
|
||||
{showFullHitPointInfo && (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<span className={classNames.join(" ")}>{remainingHp}</span>
|
||||
<span className="ct-vehicle-block-component__hp-sep">/</span>
|
||||
</React.Fragment>
|
||||
</>
|
||||
)}
|
||||
<span className={classNames.join(" ")}>{hitPointInfo.totalHp}</span>
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ export default class VehicleBlockPrimaryAttributes extends React.PureComponent<P
|
||||
Constants.VehicleConfigurationDisplayTypeEnum.ELEMENTAL_AIRSHIP;
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
{armorClassInfo !== null && this.renderArmorClassAttribute()}
|
||||
{hitPointInfo !== null && (
|
||||
<VehicleBlockAttribute
|
||||
@@ -300,7 +300,7 @@ export default class VehicleBlockPrimaryAttributes extends React.PureComponent<P
|
||||
displayColon={isElementalAirship}
|
||||
/>
|
||||
)}
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user