forked from DebaucheryLibrarian/traxxx
Fixed scroll component so it uses slot props instead of the depcrecated .
This commit is contained in:
@@ -113,7 +113,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Vue from 'vue';
|
||||
import { nextTick } from 'vue';
|
||||
|
||||
import FilterBar from '../filters/filter-bar.vue';
|
||||
import Pagination from '../pagination/pagination.vue';
|
||||
@@ -135,7 +135,7 @@ async function fetchEntity() {
|
||||
|
||||
this.pageTitle = entity.name;
|
||||
|
||||
Vue.nextTick(() => {
|
||||
nextTick(() => {
|
||||
this.$refs.content.scrollTop = 0;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user