@hostlink/nuxt-light 1.27.7 → 1.27.8

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.27.7",
4
+ "version": "1.27.8",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "2.0.0"
@@ -18,9 +18,7 @@ const $q = useQuasar();
18
18
 
19
19
  //filter out the onClick from the props
20
20
  const { onClick, ...filteredProps } = props;
21
-
22
21
  const handleClick = function () {
23
- const args = arguments;
24
22
  if (props.confirmMessage) {
25
23
  $q.dialog({
26
24
  title: props.confirmTitle,
@@ -28,10 +26,10 @@ const handleClick = function () {
28
26
  ok: "Yes",
29
27
  cancel: "No",
30
28
  }).onOk(() => {
31
- onClick?.apply(null, args as any);
29
+ onClick?.()
32
30
  });
33
31
  } else {
34
- onClick?.apply(null, args as any);
32
+ onClick?.()
35
33
  }
36
34
  };
37
35
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.27.7",
3
+ "version": "1.27.8",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": {
6
6
  "type": "git",