Fixed table loader on scrolling

pull/345/head
cagataycivici 2020-05-27 15:18:20 +03:00
parent 3ae6ee1272
commit 4f4a5956f1
2 changed files with 9 additions and 12 deletions

View File

@ -1979,5 +1979,6 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
z-index: 1;
} }
</style> </style>

View File

@ -259,12 +259,10 @@ export default {
mounted() { mounted() {
this.loading = true; this.loading = true;
setTimeout(() => { this.carService.getCarsLarge().then(data => {
this.carService.getCarsLarge().then(data => { this.cars = data
this.cars = data this.loading = false;
this.loading = false; });
});
}, 150);
this.frozenCars = [ this.frozenCars = [
{brand: "BMW", year: 2013, color: "Grey", vin: "fh2uf23"}, {brand: "BMW", year: 2013, color: "Grey", vin: "fh2uf23"},
@ -389,12 +387,10 @@ export default {
mounted() { mounted() {
this.loading = true; this.loading = true;
setTimeout(() => { this.carService.getCarsLarge().then(data => {
this.carService.getCarsLarge().then(data => { this.cars = data
this.cars = data this.loading = false;
this.loading = false; });
});
}, 150);
this.frozenCars = [ this.frozenCars = [
{brand: "BMW", year: 2013, color: "Grey", vin: "fh2uf23"}, {brand: "BMW", year: 2013, color: "Grey", vin: "fh2uf23"},