Fixed scroll component so it uses slot props instead of the depcrecated .
This commit is contained in:
@@ -28,8 +28,6 @@
|
||||
<script>
|
||||
import { mapState } from 'vuex';
|
||||
|
||||
import EventBus from '../../js/event-bus';
|
||||
|
||||
import Warning from './warning.vue';
|
||||
import Header from '../header/header.vue';
|
||||
import Sidebar from '../sidebar/sidebar.vue';
|
||||
@@ -49,12 +47,6 @@ async function setConsent(consent) {
|
||||
}
|
||||
}
|
||||
|
||||
function mounted() {
|
||||
document.addEventListener('click', () => {
|
||||
EventBus.$emit('blur');
|
||||
});
|
||||
}
|
||||
|
||||
export default {
|
||||
components: {
|
||||
Header,
|
||||
@@ -72,7 +64,6 @@ export default {
|
||||
theme,
|
||||
}),
|
||||
},
|
||||
mounted,
|
||||
methods: {
|
||||
toggleSidebar,
|
||||
setConsent,
|
||||
|
||||
Reference in New Issue
Block a user