tods-competition-factory 1.6.24 → 1.6.25
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.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/dist/tods-competition-factory.development.cjs.js +7 -6
- package/dist/tods-competition-factory.development.cjs.js.map +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js +1 -1
- package/dist/tods-competition-factory.production.cjs.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -329,7 +329,7 @@ const matchUpFormatCode = {
|
|
|
329
329
|
};
|
|
330
330
|
|
|
331
331
|
function factoryVersion() {
|
|
332
|
-
return "1.6.
|
|
332
|
+
return "1.6.25";
|
|
333
333
|
}
|
|
334
334
|
|
|
335
335
|
function getObjectTieFormat(obj) {
|
|
@@ -51067,8 +51067,8 @@ function unPublishEvent({
|
|
|
51067
51067
|
event
|
|
51068
51068
|
});
|
|
51069
51069
|
const itemValue = timeItem?.itemValue || { [status]: {} };
|
|
51070
|
-
delete itemValue[status].drawIds;
|
|
51071
51070
|
delete itemValue[status].structureIds;
|
|
51071
|
+
delete itemValue[status].drawIds;
|
|
51072
51072
|
const updatedTimeItem = { itemValue, itemType };
|
|
51073
51073
|
addEventTimeItem({ event, timeItem: updatedTimeItem, removePriorValues });
|
|
51074
51074
|
addNotice({
|
|
@@ -51460,8 +51460,9 @@ function publishEvent(params) {
|
|
|
51460
51460
|
if (structureIdsToAdd?.length) {
|
|
51461
51461
|
structureIds = unique(structureIds.push(...structureIdsToAdd));
|
|
51462
51462
|
}
|
|
51463
|
+
const existingStatusValue = timeItem?.itemValue?.[status];
|
|
51463
51464
|
const updatedTimeItem = {
|
|
51464
|
-
itemValue: { [status]: { drawIds, structureIds } },
|
|
51465
|
+
itemValue: { [status]: { ...existingStatusValue, drawIds, structureIds } },
|
|
51465
51466
|
itemType
|
|
51466
51467
|
};
|
|
51467
51468
|
addEventTimeItem({ event, timeItem: updatedTimeItem, removePriorValues });
|