|
|
@@ -80,15 +80,15 @@ export default {
|
|
80
|
80
|
.filter(p => p)
|
|
81
|
81
|
.pop()
|
|
82
|
82
|
|
|
83
|
|
- let dispatchParams = {
|
|
84
|
|
- sortType: ['event', 'exhibition'].includes(this.type) ? sortTypes.currentAndUpcoming : sort,
|
|
|
83
|
+ const dispatchParams = {
|
|
|
84
|
+ sortType: sort,
|
|
85
|
85
|
params: {
|
|
86
|
86
|
limit: this.perPage,
|
|
87
|
87
|
page: this.page
|
|
88
|
88
|
}
|
|
89
|
89
|
}
|
|
90
|
90
|
|
|
91
|
|
- let dispatchAction = clear ? `getAll${this.pType}` : `getMore${this.pType}`
|
|
|
91
|
+ const dispatchAction = clear ? `getAll${this.pType}` : `getMore${this.pType}`
|
|
92
|
92
|
|
|
93
|
93
|
const res = await this.$store.dispatch(dispatchAction, dispatchParams)
|
|
94
|
94
|
|