old automation cleanup adn status feilds of planner udpate

This commit is contained in:
IGNY8 VPS (Salman)
2025-12-03 05:13:53 +00:00
parent 7df6e190fc
commit c9f082cb12
40 changed files with 1832 additions and 2134 deletions

View File

@@ -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' },
],
},
],