Fixed format of events
This commit is contained in:
@@ -46,15 +46,11 @@ export default {
|
||||
},
|
||||
async created() {
|
||||
try {
|
||||
console.log('Initial config:', JSON.stringify(this.config));
|
||||
this.displayOptions = this.config.display || [];
|
||||
console.log('Display options:', this.displayOptions);
|
||||
const response = await axios.post('/contact-persons/filter', {
|
||||
config: JSON.stringify(this.config),
|
||||
});
|
||||
this.contacts = response.data;
|
||||
console.log('Fetched contacts:', JSON.stringify(this.contacts));
|
||||
console.log('Config style:', this.config.style);
|
||||
this.loading = false;
|
||||
} catch (error) {
|
||||
console.error('Error loading contacts:', error);
|
||||
|
||||
Reference in New Issue
Block a user