isobit-ui 0.2.36 → 0.2.37

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 +15 -4
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * isobit-ui v0.2.35
2
+ * isobit-ui v0.2.36
3
3
  * (c) Erik Alarcon Pinedo
4
4
  * Released under the MIT License.
5
5
  */
@@ -3973,6 +3973,8 @@ var script$7 = {
3973
3973
  },
3974
3974
  load: function load(p, nou, clearQueue) {
3975
3975
  try {
3976
+ var ittt;
3977
+
3976
3978
  var _this2 = this;
3977
3979
 
3978
3980
  //console.log('================load');
@@ -3995,9 +3997,18 @@ var script$7 = {
3995
3997
  key = _ref2[0];
3996
3998
 
3997
3999
  if (key) {
3998
- me.data2 = me.data2.concat(storedList.filter(function (item) {
3999
- return item[key].startsWith(p[key]);
4000
- })); //console.log("data filtrada");
4000
+ try {
4001
+ me.data2 = me.data2.concat(storedList.filter(function (item) {
4002
+ ittt = item; //item[key]&&
4003
+
4004
+ return item[key].startsWith(p[key]);
4005
+ }));
4006
+ } catch (e) {
4007
+ console.log('Error trying to filter ', ittt);
4008
+ console.log(ittt);
4009
+ console.log(storedList);
4010
+ } //console.log("data filtrada");
4011
+
4001
4012
  } else {
4002
4013
  me.data2 = me.data2.concat(storedList); //console.log("data no filtrada");
4003
4014
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isobit-ui",
3
- "version": "0.2.36",
3
+ "version": "0.2.37",
4
4
  "type": "module",
5
5
  "description": "Vue component to play videos",
6
6
  "keywords": [