Skip to content

Commit 2f51fba

Browse files
committed
Replace 'table' with 'tableRow'
1 parent 8ca92f5 commit 2f51fba

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/DeleteTableDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,9 @@ export default Vue.extend({
194194
workspace,
195195
} = this;
196196
197-
function tableName(table: TableRow) {
197+
function tableName(tableRow: TableRow) {
198198
// eslint-disable-next-line no-underscore-dangle
199-
return table._id.split('/')[0];
199+
return tableRow._id.split('/')[0];
200200
}
201201
202202
const graphNames = (await api.graphs(workspace)).results.map((graph) => graph.name);

src/views/GraphDetail.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,9 +422,9 @@ export default Vue.extend({
422422
this.panelOpen = !this.panelOpen;
423423
},
424424
async update() {
425-
function tableName(table: TableRow | EdgesSpec) {
425+
function tableName(tableRow: TableRow | EdgesSpec) {
426426
// eslint-disable-next-line no-underscore-dangle
427-
return table._id.split('/')[0];
427+
return tableRow._id.split('/')[0];
428428
}
429429
this.loading = true;
430430
const graph = await api.graph(this.workspace, this.graph);

0 commit comments

Comments
 (0)