Skip to content

Commit

Permalink
[QTable] Fix error if table hasn't children (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
Esvalirion authored Mar 30, 2021
1 parent f8bedc1 commit cc1df2e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qComponents/QTable/src/QTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,10 @@ export default {
},
beforeUpdate() {
this.QFirstRowEl = this.$refs.QFirstRow[0].$el;
this.QFirstRowEl = this.$refs.QFirstRow?.[0]?.$el;
if (!this.QFirstRowEl) return;
this.getStickedOffsets();
this.createObservers();
Expand Down

0 comments on commit cc1df2e

Please sign in to comment.