tpmkms_4wp 9.3.0-beta.41 → 9.3.0-beta.43
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/common/reminders.js +2 -2
- package/common/reminders.test.json +3287 -3
- package/package.json +2 -2
package/common/reminders.js
CHANGED
@@ -190,7 +190,7 @@ class API {
|
|
190
190
|
if (reminder.cleanUp) {
|
191
191
|
reminder.cleanUp()
|
192
192
|
}
|
193
|
-
this.setReminders(this.
|
193
|
+
this.setReminders(this.reminders().filter((reminder) => reminder.id != id))
|
194
194
|
}
|
195
195
|
}
|
196
196
|
|
@@ -272,7 +272,7 @@ const template = {
|
|
272
272
|
disabled: true,
|
273
273
|
bridge: "{ ...next(operator), operator: operator, reminder: after[0], date: after[1], interpolate: '${reminder} ${date}' }",
|
274
274
|
semantic: async ({context, api, gp, gsp}) => {
|
275
|
-
const text = await gsp(context.reminder.slice(
|
275
|
+
const text = await gsp(context.reminder.slice(0));
|
276
276
|
const update = { text }
|
277
277
|
if (context.date) {
|
278
278
|
update.dateTimeSelector = context.date
|