Allow already installed marketing extensions to be activated (https://github.com/woocommerce/woocommerce-admin/pull/7740)
* Allow already installed marketing extensions to be activated * Add installAndActivate to old task list * Add changelog entry
This commit is contained in:
parent
1d00a09ec3
commit
5b553ff2ea
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: Fix
|
||||
|
||||
Allow already installed marketing extensions to be activated #7740
|
|
@ -12,7 +12,7 @@ import './PluginList.scss';
|
|||
export type PluginListProps = {
|
||||
currentPlugin?: string | null;
|
||||
key?: string;
|
||||
installAndActivate?: ( slug: string ) => void;
|
||||
installAndActivate: ( slug: string ) => void;
|
||||
plugins?: PluginProps[];
|
||||
title?: string;
|
||||
};
|
||||
|
|
|
@ -190,6 +190,7 @@ export const Marketing: React.FC< MarketingProps > = ( {
|
|||
</CardHeader>
|
||||
<PluginList
|
||||
currentPlugin={ currentPlugin }
|
||||
installAndActivate={ installAndActivate }
|
||||
plugins={ installedExtensions }
|
||||
/>
|
||||
</Card>
|
||||
|
|
|
@ -12,7 +12,7 @@ import './PluginList.scss';
|
|||
export type PluginListProps = {
|
||||
currentPlugin?: string | null;
|
||||
key?: string;
|
||||
installAndActivate?: ( slug: string ) => void;
|
||||
installAndActivate: ( slug: string ) => void;
|
||||
plugins?: PluginProps[];
|
||||
title?: string;
|
||||
};
|
||||
|
|
|
@ -208,6 +208,7 @@ const Marketing: React.FC< MarketingProps > = ( { onComplete } ) => {
|
|||
</CardHeader>
|
||||
<PluginList
|
||||
currentPlugin={ currentPlugin }
|
||||
installAndActivate={ installAndActivate }
|
||||
plugins={ installedExtensions }
|
||||
/>
|
||||
</Card>
|
||||
|
|
Loading…
Reference in New Issue