Skip to content

Commit 3b9ad05

Browse files
committed
PDataTable overlay fix
1 parent 876dd18 commit 3b9ad05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"component library"
1919
],
2020
"license": "MIT",
21-
"version": "2.1.8",
21+
"version": "2.1.9",
2222
"scripts": {
2323
"serve": "vue-cli-service serve",
2424
"build": "vue-cli-service build",

src/components/PDataTable/PDataTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ export default class PDataTable extends Vue {
257257
258258
let loadingPosition = 0;
259259
260-
if (typeof window !== 'undefined') {
260+
if (typeof window !== 'undefined' && this.$refs.hasOwnProperty('tbody')) {
261261
262262
const overlay = (this.$refs.tbody as Element).getBoundingClientRect();
263263

0 commit comments

Comments
 (0)