team table, create team modal, delete team modal

This commit is contained in:
romankko2 committed 2022-11-25 23:15:34 +01:00
1 parent 0e33d86c98
commit f6d0764969
24 files changed
+1750 -886

No files matched your search

+22 -2
View File
@@ -1,9 +1,29 @@
<template>
<div></div>
<W-loadable :content="teams">
<A-teams-table :teams="teams" />
</W-loadable>
</template>
<script>
export default {
import ATeamsTable from './_components/a-teams-table.vue'
export default {
components: {
ATeamsTable
},
data() {
return {
teams: null
}
},
async created() {
try {
this.teams = await this.$axios.get_auth_data('v1/teams')
} catch (error) {
console.error(error)
}
}
}
</script>