Skip to content

Commit

Permalink
fix error messages and display Overview
Browse files Browse the repository at this point in the history
  • Loading branch information
scammo committed Apr 21, 2024
1 parent 6241cbc commit a04d097
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions frontend/src/views/orga/Overview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ import { client } from "../../lib/api";
const tracks = ref([])
const loadTracks = async () => {
const response = await client.get('tracks')
tracks.value = response.data
try {
const response = await client.get('tracks')
tracks.value = response.data
} catch (error) {
console.error(error)
}
}
loadTracks()
</script>
Expand Down

0 comments on commit a04d097

Please sign in to comment.