isobit-ui 0.2.8 → 0.2.10
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/index.js +5 -5
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* isobit-ui v0.2.
|
|
2
|
+
* isobit-ui v0.2.9
|
|
3
3
|
* (c) Erik Alarcon Pinedo
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -2670,9 +2670,9 @@ var script$d = {
|
|
|
2670
2670
|
var re = r.data.data ? r.data.data : r.data;
|
|
2671
2671
|
|
|
2672
2672
|
if (me.gql) {
|
|
2673
|
-
console.log(r.data);
|
|
2674
|
-
console.log(Object.keys(me.gql)[0]);
|
|
2675
|
-
re = r.data[Object.keys(me.gql)[0]];
|
|
2673
|
+
//console.log(r.data);
|
|
2674
|
+
//console.log(Object.keys(me.gql)[0]);
|
|
2675
|
+
re = r.data.data[Object.keys(me.gql)[0]];
|
|
2676
2676
|
}
|
|
2677
2677
|
|
|
2678
2678
|
me.data = re.data;
|
|
@@ -6787,7 +6787,7 @@ window.ui = _$1.ui = function (cfg) {
|
|
|
6787
6787
|
var t = [].filter.call(e.component.$parent.$children, function (e) {
|
|
6788
6788
|
return e.$el.classList.contains('v-datatable');
|
|
6789
6789
|
})[0];
|
|
6790
|
-
if (t && t.src) action = t.src.replace("/api", "").replace("/0/0", "");
|
|
6790
|
+
if (t && t.src) action = t.src.replace("/api", "").replace("api/", "/").replace("/0/0", "");
|
|
6791
6791
|
if (e.action) action = e.action;
|
|
6792
6792
|
if (!t) t = e.$vnode ? e : e.target && e.target.$vnode ? e : me.$children[0].$children[0];
|
|
6793
6793
|
if (!action && t.src) action = t.src.replace("/api", "").replace("/0/0", "");
|