Skip to content
Snippets Groups Projects
Commit 1d25849d authored by Kirill Stytsenko's avatar Kirill Stytsenko
Browse files

Upload CSV data

parent dfc09959
Branches
Tags
1 merge request!23Sprint results
...@@ -88,7 +88,7 @@ export default { ...@@ -88,7 +88,7 @@ export default {
const tableId = this.tables[this.panelIndex].id const tableId = this.tables[this.panelIndex].id
try { try {
const res = await this.$axios.get(`/api/tables/api/database/${this.$route.params.db_id}/table/${tableId}`) const res = await this.$axios.get(`/api/tables/api/database/${this.$route.params.db_id}/table/${tableId}`)
this.tableDetails = res.data[0] // It's a list with one element this.tableDetails = res.data
} catch (err) { } catch (err) {
this.$toast.error('Could not get table details.') this.$toast.error('Could not get table details.')
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment