diff --git a/frontend/src/business/components/common/components/graph/DependenciesList.vue b/frontend/src/business/components/common/components/graph/DependenciesList.vue index c60edf8d8b..14f9eb9df1 100644 --- a/frontend/src/business/components/common/components/graph/DependenciesList.vue +++ b/frontend/src/business/components/common/components/graph/DependenciesList.vue @@ -56,6 +56,10 @@ export default { this.$refs.postRelationshipList.getTableData(); }, openGraph() { + if (!this.resourceId) { + this.$warning(this.$t('api_test.automation.save_case_info')); + return; + } getRelationshipGraph(this.resourceId, this.resourceType, (data) => { this.graphData = data; this.$refs.relationshipGraph.open();