Code cleanup
This commit is contained in:
@@ -25,10 +25,8 @@ export default {
|
||||
methods: {
|
||||
async fetchFile() {
|
||||
try {
|
||||
console.log(this.hash);
|
||||
const response = await axios.get('/files/hash/' + this.hash);
|
||||
this.title = response.data.title;
|
||||
console.log('Fetched files:', response.data.events);
|
||||
this.events = response.data.events;
|
||||
} catch (error) {
|
||||
console.error('Fehler beim Abrufen der Events', error);
|
||||
|
||||
@@ -105,7 +105,6 @@ export default {
|
||||
if (placeholder) {
|
||||
const app = createApp({
|
||||
render() {
|
||||
console.log('RC', config)
|
||||
return h(EventRender, {config: JSON.parse(config) });
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user