Skip to content

Commit b8ca41e

Browse files
authored
TC-2182 Avoid ReportViewwer fetching data (trustification#2155)
Signed-off-by: mrizzi <[email protected]>
1 parent 2e9fbb1 commit b8ca41e

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

spog/ui/src/pages/sbom/mod.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ fn details(props: &DetailsProps) -> Html {
134134
Info,
135135
Packages,
136136
Source,
137-
Report,
137+
// Report,
138138
}
139139

140140
let config = use_config_private();
@@ -204,9 +204,9 @@ fn details(props: &DetailsProps) -> Html {
204204
<PageSection hidden={*tab != TabIndex::Source} variant={PageSectionVariant::Light} fill={PageSectionFill::Fill}>
205205
<SourceCode source={source.clone()} />
206206
</PageSection>
207-
<PageSection hidden={*tab != TabIndex::Report} variant={PageSectionVariant::Light} fill={PageSectionFill::Fill}>
208-
<ReportViewwer raw={source.clone()}/>
209-
</PageSection>
207+
// <PageSection hidden={*tab != TabIndex::Report} variant={PageSectionVariant::Light} fill={PageSectionFill::Fill}>
208+
// <ReportViewwer raw={source.clone()}/>
209+
// </PageSection>
210210
</>
211211
)
212212
}
@@ -273,9 +273,9 @@ fn details(props: &DetailsProps) -> Html {
273273
<PageSection hidden={*tab != TabIndex::Source} fill={PageSectionFill::Fill}>
274274
<SourceCode source={source.clone()} />
275275
</PageSection>
276-
<PageSection hidden={*tab != TabIndex::Report} fill={PageSectionFill::Fill}>
277-
<ReportViewwer raw={source.clone()}/>
278-
</PageSection>
276+
// <PageSection hidden={*tab != TabIndex::Report} fill={PageSectionFill::Fill}>
277+
// <ReportViewwer raw={source.clone()}/>
278+
// </PageSection>
279279
</>
280280
)
281281
}
@@ -303,9 +303,9 @@ fn details(props: &DetailsProps) -> Html {
303303
<PageSection hidden={*tab != TabIndex::Source} fill={PageSectionFill::Fill}>
304304
<SourceCode source={source.clone()} />
305305
</PageSection>
306-
<PageSection hidden={*tab != TabIndex::Report} fill={PageSectionFill::Fill}>
307-
<ReportViewwer raw={source.clone()}/>
308-
</PageSection>
306+
// <PageSection hidden={*tab != TabIndex::Report} fill={PageSectionFill::Fill}>
307+
// <ReportViewwer raw={source.clone()}/>
308+
// </PageSection>
309309
</>
310310
)
311311
}

0 commit comments

Comments
 (0)