Inbox: All channel first and default #54

Merged
talha.ahmed merged 1 commits from Talha into main 2026-09-02 12:52:16 +00:00
1 changed files with 3 additions and 3 deletions

View File

@ -59,11 +59,11 @@ function storeSyncRunId(id) {
}
}
/** Inbox channel: Outlook email queue, imported Google Form rows, or both. */
/** Inbox channel: both sources combined (default), Outlook email, or Google Form rows. */
const CHANNELS = [
{ key: 'all', label: 'All', icon: 'inbox' },
{ key: 'email', label: 'Email', icon: 'mail' },
{ key: 'forms', label: 'Sheet Forms', icon: 'layers' },
{ key: 'all', label: 'All', icon: 'inbox' },
]
const DEFAULT_FORM_SHEET = 'Form Responses - Candidate Database Sheet 2026'
@ -729,7 +729,7 @@ export default function Inbox() {
const { data: recruiters = [] } = useQuery(seedQuery('recruiters'))
const updateInbox = useSeedMutation('inbox')
const [channel, setChannel] = useState('email')
const [channel, setChannel] = useState('all')
const [formSheet, setFormSheet] = useState(DEFAULT_FORM_SHEET)
const [tab, setTab] = useState('All Applications')
const [skip, setSkip] = useState(0)