We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b20852 commit 93ff388Copy full SHA for 93ff388
src/common/network/sql/executeSQL.tsx
@@ -232,7 +232,6 @@ export default async function executeSQL(
232
return pre;
233
}, []);
234
const unauthorizedResource = taskInfo?.unauthorizedDBResources;
235
- const violatedRules = rootViolatedRules?.concat(taskInfo?.sqls);
236
if (unauthorizedResource?.length) {
237
// 无权限库
238
return {
src/component/Task/AlterDdlTask/DetailContent/index.tsx
@@ -211,7 +211,7 @@ export function getItems(
211
id: 'odc.src.component.Task.AlterDdlTask.DetailContent.DataSource',
212
}),
213
//'所属数据源'
214
- task?.database.dataSource?.name || '-',
+ task?.database?.dataSource?.name || '-',
215
],
216
217
hasFlow ? riskItem : null,
0 commit comments