tpmkms_4wp 7.4.1 → 7.4.3

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.

Potentially problematic release.


This version of tpmkms_4wp might be problematic. Click here for more details.

package/common/reports.js CHANGED
@@ -209,12 +209,13 @@ let config = {
209
209
  { id: "remove", level: 0,
210
210
  bridge: "{ ...next(operator), on: { marker: 'report', pullFromContext: true }, removee: after[0] }",
211
211
  generatorp: ({context, gp}) => `remove ${gp(context.removee)}`,
212
- semantic: ({context, e, objects}) => {
212
+ semantic: ({context, e, kms, objects}) => {
213
213
  const report = e(context.on)
214
214
  const id = report.value.value
215
215
  const listing = objects.listings[id]
216
216
  const column = context.removee.index.value
217
217
  listing.columns.splice(column-1, 1)
218
+ kms.events.api.happens({ marker: "changes", changeable: report })
218
219
  }
219
220
  },
220
221
  { id: "column", level: 0,
@@ -344,8 +345,6 @@ let config = {
344
345
  ['remove', 'reportAction'],
345
346
  // ['report', 'product'],
346
347
  ],
347
- associations: {
348
- },
349
348
  floaters: ["api", "isQuery"],
350
349
  debug: true,
351
350
  "version": '3',
@@ -519,6 +518,7 @@ let config = {
519
518
  listing.ordering.push([value.marker, value.ordering])
520
519
  listing.columns = _.uniq(listing.columns)
521
520
  }
521
+ kms.events.api.happens({ marker: "changes", changeable: report })
522
522
  }
523
523
  }
524
524
  },