Skip to content

Commit d121462

Browse files
committed
fix: do not reset table on edit
1 parent 35b3d17 commit d121462

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

opal-ui/src/stores/datasource.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,11 @@ export const useDatasourceStore = defineStore('datasource', () => {
130130

131131
async function loadTables() {
132132
tables.value = [];
133-
table.value = {} as TableDto;
134-
view.value = {} as ViewDto;
135-
tableIndex.value = {} as TableIndexStatusDto;
136-
variables.value = [];
137-
variable.value = {} as VariableDto;
133+
// table.value = {} as TableDto;
134+
// view.value = {} as ViewDto;
135+
// tableIndex.value = {} as TableIndexStatusDto;
136+
// variables.value = [];
137+
// variable.value = {} as VariableDto;
138138
delete perms.value.tables;
139139
return api
140140
.get(`/datasource/${datasource.value.name}/tables`, { params: { counts: true } } )

0 commit comments

Comments
 (0)