File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1919 v-btn( text color ='success' @click ='clockOut(true)' data-cy ='confirm-clock-out-button' ) Yes, clock out
2020
2121 v-fade-transition
22- v-overlay( v-if ="loading" , absolute , opacity =".2" )
22+ v-overlay( v-if ='togglingClock' absolute opacity ='.2' )
2323 v-progress-circular( indeterminate )
2424
2525 .d-flex.flex-row.justify-center.gap-small
Original file line number Diff line number Diff line change 44 v-toolbar-title
55 h6.text-h6 Upcoming shifts
66
7- div( v-if ='!upcomingShifts.length' )
7+ div( v-if ='!loading && ! upcomingShifts.length' )
88 p.text-center
99 | You have no shifts assigned. Go have fun! 🥂🎉
1010
1111 div( v-else )
12- shift-list( :shifts ='upcomingShifts' )
12+ shift-list( :shifts ='upcomingShifts' : loading = 'loading' )
1313
1414 .my-4.d-flex.justify-center
1515 v-btn(
Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ export default class Breadcrumbs extends Vue {
3131 @Watch (' breadcrumbs' )
3232 breadcrumbsChanged(newVal : any , oldVal : any ) {
3333 // Scroll to right of container automatically
34- this .$refs .scrollContainer .$el .scrollLeft = this .$refs .scrollContainer .$el .scrollWidth
34+ const container: any = this .$refs .scrollContainer
35+ container .$el .scrollLeft = container .$el .scrollWidth
3536 }
3637
3738 get breadcrumbs() {
You can’t perform that action at this time.
0 commit comments