Skip to content

Commit

Permalink
My Jetpack: Fix recommendations VideoPress product card not showing "…
Browse files Browse the repository at this point in the history
…Purchase" button. (#39612)
  • Loading branch information
elliottprogrammer authored Oct 8, 2024
1 parent 3584d37 commit a6f5848
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import './style.scss';

const slug = PRODUCT_SLUGS.VIDEOPRESS;

const VideopressCard: ProductCardComponent = ( { admin } ) => {
const VideopressCard: ProductCardComponent = props => {
const { detail } = useProduct( slug );
const { status } = detail || {};
const { videopress: data } = getMyJetpackWindowInitialState();
Expand Down Expand Up @@ -70,9 +70,9 @@ const VideopressCard: ProductCardComponent = ( { admin } ) => {

return (
<ProductCard
{ ...props }
slug={ slug }
showMenu
admin={ admin }
Description={ Description }
customLoadTracks={ customLoadTracks }
>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: patch
Type: fixed

Fixed My Jetpack recommendations VideoPress product card not showing Purchase and Learn more buttons.

0 comments on commit a6f5848

Please sign in to comment.