Skip to content

Commit

Permalink
add better reach loading indicator for rivers-by-state
Browse files Browse the repository at this point in the history
  • Loading branch information
ngottlieb committed May 21, 2024
1 parent ad31bd0 commit ad905b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/app/views/river-index/rivers-by-state.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,13 @@
</router-link>
</td>
<td>
<span v-if="reach.loading">loading...</span>
<template v-if="reach.loading">
<cv-inline-loading
small
state="loading"
loading-text=""
/>
</template>
<strong v-else-if="reach.correlation && reach.correlation.status">
{{ reach.correlation.status.latestReading.value }} {{ reach.correlation.status.metric }}
</strong>
Expand Down

0 comments on commit ad905b5

Please sign in to comment.