isobit-ui 0.0.424 → 0.0.425

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 +6 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.0.424
2
+ * isobit-ui v0.0.425
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -5885,9 +5885,11 @@ window.ui = _$1.ui = function (cfg) {
5885
5885
  var action = f.action;
5886
5886
  if (!action) action = window.location.pathname;
5887
5887
  var t = me.$children[0].$children[0];
5888
- var id = t.data[t.selected[0]][t.rowKey];
5889
- if (t.data[t.selected[0]].tmpId) id = -t.data[t.selected[0]].tmpId;
5890
- if (me.getSelectedId) id = me.getSelectedId(t.data[t.selected[0]]);
5888
+ var selected = me.getSelected()[0];
5889
+ var id = selected[t.rowKey];
5890
+ if (selected.tmpId) id = -selected.tmpId;
5891
+ console.log(selected);
5892
+ if (me.getSelectedId) id = me.getSelectedId(selected);
5891
5893
 
5892
5894
  if (window.app) {
5893
5895
  me.open(action + '/' + id + '/edit');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.0.424",
3
+ "version": "0.0.425",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [