Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
Signed-off-by: carlosthe19916 <[email protected]>
  • Loading branch information
carlosthe19916 authored and ctron committed Oct 24, 2023
1 parent fd8c9cb commit 903ecbf
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions spog/ui/src/pages/cve/result/products.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,6 @@ pub fn related_products(props: &RelatedProductsProperties) -> Html {
#[derive(PartialEq, Properties)]
pub struct RelatedProductsTableProperties {
pub table_data: Rc<Vec<TableData>>,
// pub sboms: Rc<Vec<SearchResult<Vec<PackageSummary>>>>,
pub sboms: Rc<Vec<Option<PackageSummary>>>,
}

Expand All @@ -237,12 +236,6 @@ pub fn related_products_table(props: &RelatedProductsTableProperties) -> Html {
.enumerate()
.map(|(index, item)| {
let sbom_by_index = &sboms[index];
// let sbom = if sbom_by_index.result.len() == 1 {
// let i = &sbom_by_index.result[0];
// Some(i.clone())
// } else {
// None
// };

TableData {
status: item.status.clone(),
Expand Down

0 comments on commit 903ecbf

Please sign in to comment.