mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:55:23 +02:00
feat: make search filters independent per tab while maintaining persistence
This commit is contained in:
@@ -21,7 +21,7 @@ export function ProductDescriptions({ data, headers, asinColumnIndex, onEdit, ro
|
||||
// Description columns that should only have Present/Missing filters
|
||||
const DESCRIPTION_COLUMNS = [COLUMNS.LONG_DE, COLUMNS.LONG_EN, COLUMNS.SHORT_DE, COLUMNS.SHORT_EN, COLUMNS.DETAILS_DE, COLUMNS.DETAILS_EN];
|
||||
const [activeTab, setActiveTab] = usePersistentState<string>('descriptions-tab', 'all');
|
||||
const [search, setSearch] = usePersistentState('global-search', '');
|
||||
const [search, setSearch] = usePersistentState('descriptions-search', '');
|
||||
const [lineFilter, setLineFilter] = usePersistentState('descriptions-lineFilter', '');
|
||||
const [licenseFilter, setLicenseFilter] = usePersistentState('descriptions-licenseFilter', '');
|
||||
const [sortCol, setSortCol] = usePersistentState<number | null>('descriptions-sortCol', null);
|
||||
|
||||
Reference in New Issue
Block a user