wave-ui 2.28.0 → 2.28.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wave-ui",
3
- "version": "2.28.0",
3
+ "version": "2.28.1",
4
4
  "description": "An emerging UI framework for Vue.js & Vue 3 with only the bright side. :sunny:",
5
5
  "author": "Antoni Andre <antoniandre.web@gmail.com>",
6
6
  "main": "./dist/wave-ui.umd.js",
@@ -170,7 +170,8 @@ export default {
170
170
  // Updates the slider position.
171
171
  updateSlider (domLookup = true) {
172
172
  if (domLookup) {
173
- this.activeTabEl = this.$refs['tabs-bar'].querySelector('.w-tabs__bar-item--active')
173
+ const ref = this.$refs['tabs-bar']
174
+ this.activeTabEl = ref && ref.querySelector('.w-tabs__bar-item--active')
174
175
  }
175
176
 
176
177
  if (!this.fillBar && this.activeTabEl) {