@iankibetsh/shframework 0.4.2 → 0.4.5

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/library.js CHANGED
@@ -3478,7 +3478,9 @@ var script = {
3478
3478
  },
3479
3479
  methods: {
3480
3480
  setTab: function(tab){
3481
- this.currentTab = tab.replace(/_/g, ' ');
3481
+ if(tab){
3482
+ this.currentTab = tab.replace(/_/g, ' ');
3483
+ }
3482
3484
  },
3483
3485
  setTabCounts: function (tabCounts) {
3484
3486
  if (typeof tabCounts === 'object') {
package/dist/library.mjs CHANGED
@@ -3466,7 +3466,9 @@ var script = {
3466
3466
  },
3467
3467
  methods: {
3468
3468
  setTab: function(tab){
3469
- this.currentTab = tab.replace(/_/g, ' ');
3469
+ if(tab){
3470
+ this.currentTab = tab.replace(/_/g, ' ');
3471
+ }
3470
3472
  },
3471
3473
  setTabCounts: function (tabCounts) {
3472
3474
  if (typeof tabCounts === 'object') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iankibetsh/shframework",
3
- "version": "0.4.2",
3
+ "version": "0.4.5",
4
4
  "description": "Vue library for handling laravel backend",
5
5
  "main": "dist/library.js",
6
6
  "module": "dist/library.mjs",