Unverified Commit 2892a8d0 authored by Zzm0809's avatar Zzm0809 Committed by GitHub

[Optimizing] Optimizing URLs to Constants (#3227)

parent 51fa7c17
......@@ -146,7 +146,7 @@ const Result = (props: any) => {
if (historyData) {
const historyId = historyData.id;
const tableData = await handleGetOption(
'api/studio/getJobData',
API_CONSTANTS.GET_JOB_DATA,
l('global.getdata.tips'),
{
jobId: historyId
......@@ -193,7 +193,7 @@ const Result = (props: any) => {
const renderFlinkSQLContent = () => {
return (
<>
{current.jobInstanceId ? (
{current?.jobInstanceId ? (
<>
<Space>
<Button
......
......@@ -201,6 +201,7 @@ export enum API_CONSTANTS {
GET_JOB_METRICS_ITEMS = '/api/jobInstance/getJobMetricsItems',
JOB_INSTANCE_GET_LINEAGE = '/api/jobInstance/getLineage',
GET_STATUS_COUNT = '/api/jobInstance/getStatusCount',
GET_JOB_DATA = '/api/studio/getJobData',
// ------------------------------------ devops studio ------------------------------------
STUDIO_GET_LINEAGE = '/api/studio/getLineage',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment