@azuro-org/toolkit 4.1.3 → 4.1.5
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
CHANGED
|
@@ -4230,7 +4230,6 @@ const chainsData = {
|
|
|
4230
4230
|
${PrematchConditionFragmentDoc}`;const PrematchConditionsBatchDocument = gql `
|
|
4231
4231
|
query PrematchConditionsBatch($conditionFilter: Condition_filter) {
|
|
4232
4232
|
conditions(where: $conditionFilter, first: 1000, subgraphError: allow) {
|
|
4233
|
-
id
|
|
4234
4233
|
status
|
|
4235
4234
|
conditionId
|
|
4236
4235
|
outcomes {
|
|
@@ -5372,8 +5371,8 @@ const getBetStatus = (props) => {
|
|
|
5372
5371
|
return;
|
|
5373
5372
|
}
|
|
5374
5373
|
const marketKey = getMarketKey(outcomeId);
|
|
5375
|
-
const marketName = customMarketName
|
|
5376
|
-
const selectionName = customSelectionName
|
|
5374
|
+
const marketName = customMarketName && customMarketName !== 'null' ? customMarketName : getMarketName({ outcomeId });
|
|
5375
|
+
const selectionName = customSelectionName && customSelectionName !== 'null' ? customSelectionName : getSelectionName({ outcomeId, withPoint: true });
|
|
5377
5376
|
const marketDescription = getMarketDescription({ outcomeId });
|
|
5378
5377
|
const outcome = {
|
|
5379
5378
|
coreAddress: coreAddress,
|