File tree Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-app >
3
- <v-overlay v-if =" loading" color =" #0071C2" opacity =" 1" z-index =" 9999" >
3
+ <v-overlay :value =" loading" color =" #0071C2" opacity =" 1" z-index =" 9999" >
4
4
<div class =" loader" >
5
5
Loading
6
6
</div >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-app >
3
- <v-overlay
4
- v-if =" loading"
5
- color =" $color-base-color-01"
6
- opacity =" 1"
7
- z-index =" 9999"
8
- >
3
+ <v-overlay :value =" loading" color =" #0071C2" opacity =" 1" z-index =" 9999" >
9
4
<div class =" loader" >
10
5
Loading
11
6
</div >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-app >
3
- <v-overlay v-if =" loading" color =" #0071C2" opacity =" 1" z-index =" 9999" >
3
+ <v-overlay :value =" loading" color =" #0071C2" opacity =" 1" z-index =" 9999" >
4
4
<div class =" loader" >
5
5
Loading
6
6
</div >
Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ export class ClassDataStore extends VuexModule implements ClassData {
50
50
const dateStart = new Date (
51
51
this . displayDate . getFullYear ( ) ,
52
52
this . displayDate . getMonth ( ) ,
53
- this . displayDate . getDay ( ) ,
53
+ this . displayDate . getDate ( ) ,
54
54
0 ,
55
55
0 ,
56
56
0
57
57
)
58
58
const dateEnd = new Date (
59
59
this . displayDate . getFullYear ( ) ,
60
60
this . displayDate . getMonth ( ) ,
61
- this . displayDate . getDay ( ) ,
61
+ this . displayDate . getDate ( ) ,
62
62
23 ,
63
63
59 ,
64
64
59
@@ -115,6 +115,7 @@ export class ClassDataStore extends VuexModule implements ClassData {
115
115
. collection ( 'classData' )
116
116
. doc ( classId )
117
117
. collection ( 'Lessons' )
118
+ . orderBy ( 'startTime' )
118
119
. get ( )
119
120
. then ( QuerySnapshot => {
120
121
QuerySnapshot . forEach ( function ( doc ) {
@@ -131,9 +132,6 @@ export class ClassDataStore extends VuexModule implements ClassData {
131
132
. catch ( ( ) => {
132
133
return Promise . reject ( new Error ( 'クラスIDが間違っています' ) )
133
134
} )
134
- lessons . sort ( ( a , b ) => {
135
- return a . startTime > b . startTime ? 1 : - 1
136
- } )
137
135
138
136
await firebase
139
137
. firestore ( )
You can’t perform that action at this time.
0 commit comments