Skip to content

Commit

Permalink
Change link type to wp-admin in marketing campaign listing.
Browse files Browse the repository at this point in the history
This is because not all `manageUrl` pages are wc-admin pages, e.g. MailPoet.
  • Loading branch information
ecgan committed Nov 2, 2023
1 parent 9572bf2 commit 3e65d94
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,10 @@ export const Campaigns = () => {
<FlexBlock>
<Flex direction="column" gap={ 1 }>
<FlexItem className="woocommerce-marketing-campaigns-card__campaign-title">
<Link href={ el.manageUrl }>
<Link
type="wp-admin"
href={ el.manageUrl }
>
{ el.title }
</Link>
</FlexItem>
Expand Down

0 comments on commit 3e65d94

Please sign in to comment.