Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
2816ba2b
Unverified
Commit
2816ba2b
authored
Sep 26, 2023
by
gaoyan
Committed by
GitHub
Sep 26, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix dag npe (#2341)
parent
845e4c75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
JobOverview.tsx
...eb/src/pages/DevOps/JobDetail/JobOverview/JobOverview.tsx
+8
-7
No files found.
dinky-web/src/pages/DevOps/JobDetail/JobOverview/JobOverview.tsx
View file @
2816ba2b
...
@@ -18,27 +18,28 @@
...
@@ -18,27 +18,28 @@
*/
*/
import
FlinkDag
from
'@/components/FlinkDag'
;
import
FlinkDag
from
'@/components/FlinkDag'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
{
JobProps
}
from
'@/pages/DevOps/JobDetail/data'
;
import
FlinkTable
from
'@/pages/DevOps/JobDetail/JobOverview/components/FlinkTable'
;
import
FlinkTable
from
'@/pages/DevOps/JobDetail/JobOverview/components/FlinkTable'
;
import
JobDesc
from
'@/pages/DevOps/JobDetail/JobOverview/components/JobDesc'
;
import
JobDesc
from
'@/pages/DevOps/JobDetail/JobOverview/components/JobDesc'
;
import
{
ProCard
}
from
'@ant-design/pro-components'
;
import
{
ProCard
}
from
'@ant-design/pro-components'
;
import
{
Empty
}
from
"antd"
;
const
JobConfigTab
=
(
props
:
JobProps
)
=>
{
const
JobConfigTab
=
(
props
:
JobProps
)
=>
{
const
{
jobDetail
}
=
props
;
const
{
jobDetail
}
=
props
;
const
job
=
jobDetail
?.
jobDataDto
?.
job
return
(
return
(
<>
<>
<
JobDesc
jobDetail=
{
jobDetail
}
/>
<
JobDesc
jobDetail=
{
jobDetail
}
/>
<
ProCard
<
ProCard
style=
{
{
style=
{
{
height
:
'40vh'
height
:
'40vh'
}
}
}
}
>
>
<
FlinkDag
job=
{
jobDetail
?.
jobDataDto
?.
job
}
/>
{
job
?
<
FlinkDag
job=
{
job
}
/>
:
<
Empty
image=
{
Empty
.
PRESENTED_IMAGE_SIMPLE
}
/>
}
</
ProCard
>
</
ProCard
>
<
FlinkTable
jobDetail=
{
jobDetail
}
/>
<
FlinkTable
jobDetail=
{
jobDetail
}
/>
</>
</>
);
);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment