old automation cleanup adn status feilds of planner udpate
This commit is contained in:
@@ -232,9 +232,9 @@ export const createKeywordsPageConfig = (
|
||||
return (
|
||||
<Badge
|
||||
color={
|
||||
value === 'active'
|
||||
value === 'mapped'
|
||||
? 'success'
|
||||
: value === 'pending'
|
||||
: value === 'new'
|
||||
? 'amber'
|
||||
: 'error'
|
||||
}
|
||||
@@ -312,9 +312,8 @@ export const createKeywordsPageConfig = (
|
||||
type: 'select',
|
||||
options: [
|
||||
{ value: '', label: 'All Status' },
|
||||
{ value: 'active', label: 'Active' },
|
||||
{ value: 'pending', label: 'Pending' },
|
||||
{ value: 'archived', label: 'Archived' },
|
||||
{ value: 'new', label: 'New' },
|
||||
{ value: 'mapped', label: 'Mapped' },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -560,13 +559,12 @@ export const createKeywordsPageConfig = (
|
||||
key: 'status',
|
||||
label: 'Status',
|
||||
type: 'select',
|
||||
value: handlers.formData.status || 'pending',
|
||||
value: handlers.formData.status || 'new',
|
||||
onChange: (value: any) =>
|
||||
handlers.setFormData({ ...handlers.formData, status: value }),
|
||||
options: [
|
||||
{ value: 'pending', label: 'Pending' },
|
||||
{ value: 'active', label: 'Active' },
|
||||
{ value: 'archived', label: 'Archived' },
|
||||
{ value: 'new', label: 'New' },
|
||||
{ value: 'mapped', label: 'Mapped' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user