Commit e48a7a6 1 parent b198047 commit e48a7a6 Copy full SHA for e48a7a6
File tree 1 file changed +4
-8
lines changed
datahub-web-react/src/app/entity/dataProcessInstance
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ import SummaryTab from './profile/DataProcessInstanceSummary';
26
26
// ''
27
27
// );
28
28
// };
29
+ type PreviewEntity = {
30
+ urn : string ;
31
+ type : EntityType ;
32
+ } ;
29
33
30
34
const getParentEntities = ( data : DataProcessInstance ) : Entity < DataJob > [ ] => {
31
35
const parentEntity = data ?. relationships ?. relationships ?. find (
@@ -151,10 +155,6 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
151
155
renderPreview = ( _ : PreviewType , data : DataProcessInstance ) => {
152
156
const genericProperties = this . getGenericEntityProperties ( data ) ;
153
157
const parentEntities = getParentEntities ( data ) ;
154
- type PreviewEntity = {
155
- urn : string ;
156
- type : EntityType ;
157
- } ;
158
158
return (
159
159
< Preview
160
160
urn = { data . urn }
@@ -185,10 +185,6 @@ export class DataProcessInstanceEntity implements Entity<DataProcessInstance> {
185
185
const parentEntities = getParentEntities ( data ) ;
186
186
187
187
const firstState = data ?. state && data . state . length > 0 ? data . state [ 0 ] : undefined ;
188
- type PreviewEntity = {
189
- urn : string ;
190
- type : EntityType ;
191
- } ;
192
188
193
189
return (
194
190
< Preview
You can’t perform that action at this time.
0 commit comments