kopia lustrzana https://dev.funkwhale.audio/funkwhale/funkwhale
Fixed broken track table issue during upload
rodzic
7994ac497a
commit
b74517ff33
|
@ -4,6 +4,9 @@ export default {
|
|||
defaultOrdering: {type: String, required: false}
|
||||
},
|
||||
computed: {
|
||||
orderingConfig () {
|
||||
return this.$store.state.ui.routePreferences[this.$route.name]
|
||||
},
|
||||
paginateBy: {
|
||||
set(paginateBy) {
|
||||
this.$store.commit('ui/paginateBy', {
|
||||
|
@ -12,7 +15,7 @@ export default {
|
|||
})
|
||||
},
|
||||
get() {
|
||||
return this.$store.state.ui.routePreferences[this.$route.name].paginateBy
|
||||
return this.orderingConfig.paginateBy
|
||||
}
|
||||
},
|
||||
ordering: {
|
||||
|
@ -23,7 +26,7 @@ export default {
|
|||
})
|
||||
},
|
||||
get() {
|
||||
return this.$store.state.ui.routePreferences[this.$route.name].ordering
|
||||
return this.orderingConfig.ordering
|
||||
}
|
||||
},
|
||||
orderingDirection: {
|
||||
|
@ -34,7 +37,7 @@ export default {
|
|||
})
|
||||
},
|
||||
get() {
|
||||
return this.$store.state.ui.routePreferences[this.$route.name].orderingDirection
|
||||
return this.orderingConfig.orderingDirection
|
||||
}
|
||||
},
|
||||
},
|
||||
|
|
|
@ -77,6 +77,11 @@ export default {
|
|||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
},
|
||||
"content.libraries.detail.upload": {
|
||||
paginateBy: 50,
|
||||
orderingDirection: "-",
|
||||
ordering: "creation_date",
|
||||
},
|
||||
},
|
||||
serviceWorker: {
|
||||
refreshing: false,
|
||||
|
|
Ładowanie…
Reference in New Issue