Fixed format of events

This commit is contained in:
Torsten Schulz
2024-06-23 17:32:45 +02:00
parent 692e989861
commit 8b89d8b800
26 changed files with 455 additions and 157 deletions

View File

@@ -32,14 +32,10 @@ import { formatTime, formatDate } from '@/utils/strings';
export default {
name: 'WorshipRender',
props: {
location: {
type: Number,
config: {
type: Object,
required: true
},
orderBy: {
type: String,
default: 'date ASC'
}
},
data() {
return {
@@ -55,10 +51,7 @@ export default {
async fetchWorships() {
try {
const response = await axios.get('/worships/filtered', {
params: {
location: this.location,
orderBy: this.orderBy
}
params: this.config
});
this.worships = response.data;
} catch (error) {