|
|
@@ -53,7 +53,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { SQLExecAPI, PipelineAPI } from '@/api';
|
|
|
+import { SQLExecAPI } from '@/api';
|
|
|
|
|
|
export default {
|
|
|
name: 'Database',
|
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
async mounted() {
|
|
|
- this.dbs = await PipelineAPI.getDeploymentsByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
+ this.dbs = await SQLExecAPI.getDatabaseInstances(this.$store.state.workspace.currentProjectId);
|
|
|
},
|
|
|
computed: {
|
|
|
activeRecord() {
|