@azuro-org/toolkit 4.1.3 → 4.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5372,8 +5372,8 @@ const getBetStatus = (props) => {
|
|
|
5372
5372
|
return;
|
|
5373
5373
|
}
|
|
5374
5374
|
const marketKey = getMarketKey(outcomeId);
|
|
5375
|
-
const marketName = customMarketName
|
|
5376
|
-
const selectionName = customSelectionName
|
|
5375
|
+
const marketName = customMarketName && customMarketName !== 'null' ? customMarketName : getMarketName({ outcomeId });
|
|
5376
|
+
const selectionName = customSelectionName && customSelectionName !== 'null' ? customSelectionName : getSelectionName({ outcomeId, withPoint: true });
|
|
5377
5377
|
const marketDescription = getMarketDescription({ outcomeId });
|
|
5378
5378
|
const outcome = {
|
|
5379
5379
|
coreAddress: coreAddress,
|