isobit-ui 0.0.444 → 0.0.445

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.444
2
+ * isobit-ui v0.0.445
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5865,12 +5865,12 @@ window.ui = _$1.ui = function (cfg) {
5865
5865
  instance.get(_$1.currentPath = (action + '/create').replace(/([^:]\/)\/+/g, "$1") + '?modal').then(_$1.open)["catch"](me.error);
5866
5866
  }
5867
5867
  },
5868
- edit: function edit() {
5868
+ edit: function edit(e) {
5869
5869
  var me = this;
5870
5870
  var f = me.$children[0];
5871
5871
  var action = f.action;
5872
5872
  if (!action) action = window.location.pathname;
5873
- var t = me.$children[0].$children[0];
5873
+ var t = e.$vnode ? e : me.$children[0].$children[0];
5874
5874
  var selected = me.getSelected()[0];
5875
5875
  var id = selected[t.rowKey];
5876
5876
  if (selected.tmpId) id = -selected.tmpId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.444",
3
+ "version": "0.0.445",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [