Remove the usage of `<ReportSummary isRequesting>` as it has no effect (#50751)
The support for such property was removed in woocommerce/woocommerce-admin#4858 ~4 years ago. Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
parent
a66d2f8dff
commit
53be5776f4
|
@ -134,7 +134,7 @@ describe( 'ReportSummary', () => {
|
|||
).toBeInTheDocument();
|
||||
} );
|
||||
|
||||
test( 'should display SummaryListPlaceholder when isRequesting is true', () => {
|
||||
test( 'should display SummaryListPlaceholder when summaryData.isRequesting is true', () => {
|
||||
const { container } = renderChart( 'number', null, null, false, true );
|
||||
|
||||
expect(
|
||||
|
|
|
@ -69,7 +69,6 @@ class CategoriesReport extends Component {
|
|||
<ReportSummary
|
||||
charts={ charts }
|
||||
endpoint="products"
|
||||
isRequesting={ isRequesting }
|
||||
limitProperties={
|
||||
isSingleCategoryView
|
||||
? [ 'products', 'categories' ]
|
||||
|
|
|
@ -57,7 +57,6 @@ class CouponsReport extends Component {
|
|||
<ReportSummary
|
||||
charts={ charts }
|
||||
endpoint="coupons"
|
||||
isRequesting={ isRequesting }
|
||||
query={ chartQuery }
|
||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||
filters={ filters }
|
||||
|
|
|
@ -82,7 +82,6 @@ class ProductsReport extends Component {
|
|||
mode={ mode }
|
||||
charts={ charts }
|
||||
endpoint="products"
|
||||
isRequesting={ isRequesting }
|
||||
query={ chartQuery }
|
||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||
filters={ filters }
|
||||
|
|
|
@ -52,7 +52,6 @@ class TaxesReport extends Component {
|
|||
<ReportSummary
|
||||
charts={ charts }
|
||||
endpoint="taxes"
|
||||
isRequesting={ isRequesting }
|
||||
query={ chartQuery }
|
||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||
filters={ filters }
|
||||
|
|
|
@ -59,7 +59,6 @@ const VariationsReport = ( props ) => {
|
|||
mode={ mode }
|
||||
charts={ charts }
|
||||
endpoint="variations"
|
||||
isRequesting={ isRequesting }
|
||||
query={ chartQuery }
|
||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||
filters={ filters }
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
|
||||
Remove the usage of `ReportSummary`s `isRequesting` property as it has no effect.
|
Loading…
Reference in New Issue