Skip to content

Commit

Permalink
mahathir/#105/add loader to sign in page
Browse files Browse the repository at this point in the history
  • Loading branch information
mirmahathir1 committed Apr 1, 2024
1 parent 983ed27 commit bd76196
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/views/SignInCover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@
:data="chartData"
/>
</div>
<div v-else key="loadingKey">
<LoadingMessage/>
</div>

</transition-group>
</v-col>
Expand Down Expand Up @@ -180,11 +183,12 @@ import { mapActions, mapGetters, mapMutations } from 'vuex'
import { required, minLength, maxLength } from 'vuelidate/lib/validators'
import { handleGETLogsDonations } from '@/api'
import { Bar as BarChart } from 'vue-chartjs'
import LoadingMessage from '@/components/LoadingMessage.vue'
import { Chart as ChartJS, Title, Tooltip, Legend, BarElement, CategoryScale, LinearScale, Filler } from 'chart.js'
ChartJS.register(Title, Tooltip, Legend, BarElement, CategoryScale, LinearScale, Filler)
export default {
name: 'SignInCover',
components: { BarChart },
components: { BarChart, LoadingMessage },
data () {
return {
detailsFlag: false,
Expand Down

0 comments on commit bd76196

Please sign in to comment.