Fix update of aggregate operation not reflected in kanban header without refresh (#10879)
Before https://github.com/user-attachments/assets/1761c49e-3d08-413a-bebd-11f4592a7de8 After https://github.com/user-attachments/assets/064ef28f-b131-48af-ad66-11f782298670
This commit is contained in:
@ -1,15 +0,0 @@
|
||||
import { AGGREGATE_OPERATIONS } from '@/object-record/record-table/constants/AggregateOperations';
|
||||
import { createState } from '@ui/utilities/state/utils/createState';
|
||||
|
||||
type AggregateOperation = {
|
||||
operation: AGGREGATE_OPERATIONS | null;
|
||||
availableFieldIdsForOperation: string[];
|
||||
};
|
||||
|
||||
export const aggregateDropdownState = createState<AggregateOperation>({
|
||||
key: 'aggregateDropdownState',
|
||||
defaultValue: {
|
||||
operation: null,
|
||||
availableFieldIdsForOperation: [],
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user