mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
Fixed #5912 - BlockUI bug SSR: when I reload the page I get the following error
This commit is contained in:
parent
16822d4cd8
commit
2eb5b4aa3b
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import { createElement, blockBodyScroll, addClass, hasCSSAnimation, unblockBodyScroll } from '@primeuix/utils/dom';
|
||||
import { addClass, blockBodyScroll, createElement, hasCSSAnimation, unblockBodyScroll } from '@primeuix/utils/dom';
|
||||
import { ZIndex } from '@primeuix/utils/zindex';
|
||||
import BaseBlockUI from './BaseBlockUI.vue';
|
||||
|
||||
|
@ -93,7 +93,7 @@ export default {
|
|||
document.body.removeChild(this.mask);
|
||||
unblockBodyScroll();
|
||||
} else {
|
||||
this.$refs.container.removeChild(this.mask);
|
||||
this.$refs.container?.removeChild(this.mask);
|
||||
}
|
||||
|
||||
this.isBlocked = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue