Revert experiment task titles back to original (https://github.com/woocommerce/woocommerce-admin/pull/7853)
* Remove experiment task titles * Changelog
This commit is contained in:
parent
7ae80e7969
commit
96028ff055
|
@ -0,0 +1,4 @@
|
||||||
|
Significance: patch
|
||||||
|
Type: Fix
|
||||||
|
|
||||||
|
Revert experiment task titles back to original #7853
|
|
@ -20,12 +20,6 @@ import taskHeaders from './task-headers';
|
||||||
import DismissModal from './dissmiss-modal';
|
import DismissModal from './dissmiss-modal';
|
||||||
import TaskListCompleted from './completed';
|
import TaskListCompleted from './completed';
|
||||||
|
|
||||||
// Temporary experiment titles which differs from current task titles.
|
|
||||||
const experimentTaskTitles = {
|
|
||||||
marketing: __( 'Get more sales', 'woocommerce-admin' ),
|
|
||||||
'woocommerce-payments': __( 'Set up payments', 'woocommerce-admin' ),
|
|
||||||
};
|
|
||||||
|
|
||||||
export const TaskList = ( {
|
export const TaskList = ( {
|
||||||
query,
|
query,
|
||||||
taskListId,
|
taskListId,
|
||||||
|
@ -248,10 +242,7 @@ export const TaskList = ( {
|
||||||
<TaskItem
|
<TaskItem
|
||||||
key={ task.id }
|
key={ task.id }
|
||||||
className={ className }
|
className={ className }
|
||||||
title={
|
title={ task.title }
|
||||||
experimentTaskTitles[ task.id ] ??
|
|
||||||
task.title
|
|
||||||
}
|
|
||||||
completed={ task.isComplete }
|
completed={ task.isComplete }
|
||||||
content={ task.content }
|
content={ task.content }
|
||||||
onClick={ () => {
|
onClick={ () => {
|
||||||
|
|
Loading…
Reference in New Issue