Reverting broken filter from (#12352)
# Introdution Reverting introduced bug by https://github.com/twentyhq/twenty/pull/12082 We need to address the bug that was "fixed" by this in order to refresh the recordFilters state, will have a look with @lucasbordeau 🙏
This commit is contained in:
@ -0,0 +1,9 @@
|
||||
import { RecordFiltersComponentInstanceContext } from '@/object-record/record-filter/states/context/RecordFiltersComponentInstanceContext';
|
||||
import { createComponentFamilyStateV2 } from '@/ui/utilities/state/component-state/utils/createComponentFamilyStateV2';
|
||||
|
||||
export const hasInitializedCurrentRecordFiltersComponentFamilyState =
|
||||
createComponentFamilyStateV2<boolean, { viewId?: string }>({
|
||||
key: 'hasInitializedCurrentRecordFiltersComponentFamilyState',
|
||||
defaultValue: false,
|
||||
componentInstanceContext: RecordFiltersComponentInstanceContext,
|
||||
});
|
||||
Reference in New Issue
Block a user