@@ -23,7 +23,6 @@ import { SidebarDomainSection } from '../shared/containers/profile/sidebar/Domai
23
23
import { EntityMenuItems } from '../shared/EntityDropdown/EntityDropdown' ;
24
24
import { LineageTab } from '../shared/tabs/Lineage/LineageTab' ;
25
25
import { DashboardStatsSummarySubHeader } from './profile/DashboardStatsSummarySubHeader' ;
26
- import { InputFieldsTab } from '../shared/tabs/Entity/InputFieldsTab' ;
27
26
import { ChartSnippet } from '../chart/ChartSnippet' ;
28
27
29
28
/**
@@ -87,16 +86,6 @@ export class DashboardEntity implements Entity<Dashboard> {
87
86
name : 'Documentation' ,
88
87
component : DocumentationTab ,
89
88
} ,
90
- {
91
- name : 'Fields' ,
92
- component : InputFieldsTab ,
93
- display : {
94
- visible : ( _ , dashboard : GetDashboardQuery ) =>
95
- ( dashboard ?. dashboard ?. inputFields ?. fields ?. length || 0 ) > 0 ,
96
- enabled : ( _ , dashboard : GetDashboardQuery ) =>
97
- ( dashboard ?. dashboard ?. inputFields ?. fields ?. length || 0 ) > 0 ,
98
- } ,
99
- } ,
100
89
{
101
90
name : 'Properties' ,
102
91
component : PropertiesTab ,
@@ -215,7 +204,13 @@ export class DashboardEntity implements Entity<Dashboard> {
215
204
statsSummary = { data . statsSummary }
216
205
lastUpdatedMs = { data . properties ?. lastModified ?. time }
217
206
createdMs = { data . properties ?. created ?. time }
218
- snippet = { < ChartSnippet matchedFields = { result . matchedFields } inputFields = { data . inputFields } /> }
207
+ snippet = {
208
+ < ChartSnippet
209
+ isMatchingDashboard
210
+ matchedFields = { result . matchedFields }
211
+ inputFields = { data . inputFields }
212
+ />
213
+ }
219
214
/>
220
215
) ;
221
216
} ;
0 commit comments