Fix Vorstand page - load config data directly from API response
This commit is contained in:
@@ -133,7 +133,7 @@ const config = ref(null)
|
||||
const loadConfig = async () => {
|
||||
try {
|
||||
const response = await $fetch('/api/config')
|
||||
config.value = response.config
|
||||
config.value = response
|
||||
} catch (error) {
|
||||
console.error('Fehler beim Laden der Config:', error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user