isobit-ui 0.2.33 → 0.2.35

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 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.32
2
+ * isobit-ui v0.2.34
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -2679,9 +2679,7 @@ var script$d = {
2679
2679
  //console.log(r.data);
2680
2680
  //console.log(Object.keys(me.gql)[0]);
2681
2681
  re = r.data.data[Object.keys(me.gql)[0]];
2682
- }
2683
-
2684
- me.data = re.data;
2682
+ } else me.data = re;
2685
2683
 
2686
2684
  if (re && re.hasOwnProperty('size') && pagination) {
2687
2685
  me.pages = Math.ceil(re.size / pagination);
@@ -6782,6 +6780,7 @@ window.ui = _$1.ui = function (cfg) {
6782
6780
  var action = me.$children[0].action;
6783
6781
  if (!action) action = window.location.pathname;
6784
6782
  action = _$1.processURL(action);
6783
+ if (action) action = action.replace("/api", "");
6785
6784
 
6786
6785
  if (window.app) {
6787
6786
  me.open(action + '/create');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.33",
3
+ "version": "0.2.35",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [