mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-04 21:57:20 +00:00
refactor: use SqlFactory from nocodb-sdk package (#1750)
Signed-off-by: Pranav C <pranavxc@gmail.com>
This commit is contained in:
@@ -73,11 +73,10 @@
|
||||
<script>
|
||||
import { mapGetters, mapActions } from 'vuex'
|
||||
|
||||
import { SqlUiFactory } from 'nocodb-sdk'
|
||||
import MonacoEditor from '../../monaco/Monaco'
|
||||
import dlgLabelSubmitCancel from '../../utils/dlgLabelSubmitCancel'
|
||||
|
||||
import { SqlUI } from '../../../helpers/sqlUi/SqlUiFactory'
|
||||
|
||||
export default {
|
||||
components: { MonacoEditor, dlgLabelSubmitCancel },
|
||||
data() {
|
||||
@@ -244,7 +243,7 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
created() {
|
||||
this.sqlUi = SqlUI.create(this.nodes.dbConnection)
|
||||
this.sqlUi = SqlUiFactory.create(this.nodes.dbConnection)
|
||||
},
|
||||
mounted() {
|
||||
this.loadFunction()
|
||||
|
||||
Reference in New Issue
Block a user