|
|
@@ -12,8 +12,7 @@ const getters = {
|
|
12
|
12
|
allExhibitions: state => state.all,
|
|
13
|
13
|
allExhibitionsLoaded: state => state.loaded,
|
|
14
|
14
|
pastExhibitions: state => state.all.filter(exhibition => parseInt(exhibition.end) > now),
|
|
15
|
|
- upcomingAndCurrentExhibitions: state => state.all,
|
|
16
|
|
- // upcomingAndCurrentExhibitions: state => state.all.filter(exhibition => parseInt(exhibition.end) <= now)
|
|
|
15
|
+ upcomingAndCurrentExhibitions: state => state.all.filter(exhibition => parseInt(exhibition.end) <= now)
|
|
17
|
16
|
}
|
|
18
|
17
|
|
|
19
|
18
|
const actions = {
|