Skip to content

Commit

Permalink
Change program's items sold column to static text.
Browse files Browse the repository at this point in the history
We will add links to advanced filters in V2.
#96 (comment).
  • Loading branch information
tomalec committed Jan 5, 2021
1 parent 87695db commit 13ee9c9
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions js/src/reports/compare-programs-table-card.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import { __ } from '@wordpress/i18n';
import { useState } from '@wordpress/element';
import { CheckboxControl, Button } from '@wordpress/components';
import { Link } from '@woocommerce/components';
import { getNewPath, getQuery, onQueryChange } from '@woocommerce/navigation';
import { getQuery, onQueryChange } from '@woocommerce/navigation';

/**
* Internal dependencies
Expand Down Expand Up @@ -188,13 +187,7 @@ const CompareProgramsTableCard = () => {
{ display: row.conversions },
{ display: row.clicks },
{ display: row.impressions },
{
display: (
<Link href={ getNewPath( null, `/google/reports/items-sold/${ row.id }` ) }>
{ row.itemsSold }
</Link>
),
},
{ display: row.itemsSold },
{ display: row.netSales },
{ display: row.totalSpend },
];
Expand Down

0 comments on commit 13ee9c9

Please sign in to comment.