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();
|
).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 );
|
const { container } = renderChart( 'number', null, null, false, true );
|
||||||
|
|
||||||
expect(
|
expect(
|
||||||
|
|
|
@ -69,7 +69,6 @@ class CategoriesReport extends Component {
|
||||||
<ReportSummary
|
<ReportSummary
|
||||||
charts={ charts }
|
charts={ charts }
|
||||||
endpoint="products"
|
endpoint="products"
|
||||||
isRequesting={ isRequesting }
|
|
||||||
limitProperties={
|
limitProperties={
|
||||||
isSingleCategoryView
|
isSingleCategoryView
|
||||||
? [ 'products', 'categories' ]
|
? [ 'products', 'categories' ]
|
||||||
|
|
|
@ -57,7 +57,6 @@ class CouponsReport extends Component {
|
||||||
<ReportSummary
|
<ReportSummary
|
||||||
charts={ charts }
|
charts={ charts }
|
||||||
endpoint="coupons"
|
endpoint="coupons"
|
||||||
isRequesting={ isRequesting }
|
|
||||||
query={ chartQuery }
|
query={ chartQuery }
|
||||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||||
filters={ filters }
|
filters={ filters }
|
||||||
|
|
|
@ -82,7 +82,6 @@ class ProductsReport extends Component {
|
||||||
mode={ mode }
|
mode={ mode }
|
||||||
charts={ charts }
|
charts={ charts }
|
||||||
endpoint="products"
|
endpoint="products"
|
||||||
isRequesting={ isRequesting }
|
|
||||||
query={ chartQuery }
|
query={ chartQuery }
|
||||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||||
filters={ filters }
|
filters={ filters }
|
||||||
|
|
|
@ -52,7 +52,6 @@ class TaxesReport extends Component {
|
||||||
<ReportSummary
|
<ReportSummary
|
||||||
charts={ charts }
|
charts={ charts }
|
||||||
endpoint="taxes"
|
endpoint="taxes"
|
||||||
isRequesting={ isRequesting }
|
|
||||||
query={ chartQuery }
|
query={ chartQuery }
|
||||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||||
filters={ filters }
|
filters={ filters }
|
||||||
|
|
|
@ -59,7 +59,6 @@ const VariationsReport = ( props ) => {
|
||||||
mode={ mode }
|
mode={ mode }
|
||||||
charts={ charts }
|
charts={ charts }
|
||||||
endpoint="variations"
|
endpoint="variations"
|
||||||
isRequesting={ isRequesting }
|
|
||||||
query={ chartQuery }
|
query={ chartQuery }
|
||||||
selectedChart={ getSelectedChart( query.chart, charts ) }
|
selectedChart={ getSelectedChart( query.chart, charts ) }
|
||||||
filters={ filters }
|
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