not-bulma 1.0.22 → 1.0.23

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "not-bulma",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "not-* family UI components on Bulma CSS Framework",
5
5
  "main": "src/index.js",
6
6
  "svelte": "src/index.js",
@@ -52,7 +52,7 @@ export default class CRUDActionUpdate{
52
52
  });
53
53
 
54
54
  controller.ui[ACTION].on('submit', async (ev) => {
55
- const success = await controller.onActionSubmit(ACTION, ev.detail);
55
+ const success = await controller.onActionSubmit(ACTION, ev);
56
56
  if(success){
57
57
  setTimeout(() => controller.goDetails(id), 1000);
58
58
  }
@@ -192,7 +192,7 @@ class notCRUD extends notController {
192
192
  }
193
193
 
194
194
  async onActionSubmit(action, item){
195
- let result = true;
195
+ let state = true;
196
196
  const actionUI = this.ui[action];
197
197
  if(actionUI){
198
198
  try{