improve UI loading vis

This commit is contained in:
Julian Krauser 2025-07-25 12:36:45 +02:00
parent 583233b95e
commit 8e64b549d7
5 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@
<Pagination <Pagination
:items="inspections" :items="inspections"
:totalCount="totalCount" :totalCount="totalCount"
:indicateLoading="false" :indicateLoading="loading == 'loading'"
@load-data="(offset, count, search) => fetchInspectionForEquipment(offset, count, false)" @load-data="(offset, count, search) => fetchInspectionForEquipment(offset, count, false)"
> >
<template #pageRow="{ row }: { row: InspectionViewModel }"> <template #pageRow="{ row }: { row: InspectionViewModel }">

View file

@ -3,7 +3,7 @@
<Pagination <Pagination
:items="damageReports" :items="damageReports"
:totalCount="totalCount" :totalCount="totalCount"
:indicateLoading="false" :indicateLoading="loading == 'loading'"
@load-data="(offset, count, search) => fetchDamageReportForVehicle(offset, count, search)" @load-data="(offset, count, search) => fetchDamageReportForVehicle(offset, count, search)"
> >
<template #pageRow="{ row }: { row: DamageReportViewModel }"> <template #pageRow="{ row }: { row: DamageReportViewModel }">

View file

@ -3,7 +3,7 @@
<Pagination <Pagination
:items="inspections" :items="inspections"
:totalCount="totalCount" :totalCount="totalCount"
:indicateLoading="false" :indicateLoading="loading == 'loading'"
@load-data="(offset, count, search) => fetchInspectionForVehicle(offset, count, search)" @load-data="(offset, count, search) => fetchInspectionForVehicle(offset, count, search)"
> >
<template #pageRow="{ row }: { row: InspectionViewModel }"> <template #pageRow="{ row }: { row: InspectionViewModel }">

View file

@ -3,7 +3,7 @@
<Pagination <Pagination
:items="damageReports" :items="damageReports"
:totalCount="totalCount" :totalCount="totalCount"
:indicateLoading="false" :indicateLoading="loading == 'loading'"
@load-data="(offset, count, search) => fetchDamageReportForWearable(offset, count, search)" @load-data="(offset, count, search) => fetchDamageReportForWearable(offset, count, search)"
> >
<template #pageRow="{ row }: { row: DamageReportViewModel }"> <template #pageRow="{ row }: { row: DamageReportViewModel }">

View file

@ -3,7 +3,7 @@
<Pagination <Pagination
:items="inspections" :items="inspections"
:totalCount="totalCount" :totalCount="totalCount"
:indicateLoading="false" :indicateLoading="loading == 'loading'"
@load-data="(offset, count, search) => fetchInspectionForWearable(offset, count, search)" @load-data="(offset, count, search) => fetchInspectionForWearable(offset, count, search)"
> >
<template #pageRow="{ row }: { row: InspectionViewModel }"> <template #pageRow="{ row }: { row: InspectionViewModel }">