fix: standard view resets everything including search, multiSelectFolders, activeViewId
This commit is contained in:
@@ -449,6 +449,10 @@ export function ContactsListPage() {
|
|||||||
setGroupState(emptyGroupState);
|
setGroupState(emptyGroupState);
|
||||||
setSelectedFilter('all');
|
setSelectedFilter('all');
|
||||||
setViewMode('list');
|
setViewMode('list');
|
||||||
|
setMultiSelectFolders([]);
|
||||||
|
setActiveViewId(null);
|
||||||
|
setSearch('');
|
||||||
|
setPage(1);
|
||||||
}}
|
}}
|
||||||
className={`
|
className={`
|
||||||
w-full flex items-center gap-2 px-2 py-1.5 rounded text-xs text-left transition-colors
|
w-full flex items-center gap-2 px-2 py-1.5 rounded text-xs text-left transition-colors
|
||||||
|
|||||||
Reference in New Issue
Block a user