Skip to content

Commit

Permalink
move servo loading status
Browse files Browse the repository at this point in the history
  • Loading branch information
swantzter committed Nov 1, 2024
1 parent c14ef8d commit 92dd243
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions src/views/servo/Entries.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function scrollToHeat (heatNumber: number) {

<div class="grid grid-cols-2 gap-4">
<score-button
label="Refresh"
:label="isFetching ? 'Loading...' : 'Refresh'"
single-row
class="mx-0 py-4"
color="orange"
Expand All @@ -116,7 +116,7 @@ function scrollToHeat (heatNumber: number) {
</div>
</div>

<div v-if="data" class="flex flex-col gap-4 px-2 mt-2">
<div v-if="data" class="flex flex-col gap-4 px-2 my-2">
<servo-entry-link
v-for="entry in entries"
:key="entry.CompEventEntryID"
Expand All @@ -128,13 +128,6 @@ function scrollToHeat (heatNumber: number) {
/>
</div>

<div
v-if="isFetching"
class="p-2"
>
Loading...
</div>

<div
v-if="error"
class="p-2"
Expand Down

0 comments on commit 92dd243

Please sign in to comment.