Fix: Persist hide empty groups setting on backend (BREAKING: deploy server first) (#16385)
Closes #13754 and [core team issue #414](https://github.com/twentyhq/core-team-issues/issues/414)
This commit is contained in:
+1
@@ -14,4 +14,5 @@ export const FLAT_VIEW_EDITABLE_PROPERTIES = [
|
||||
'calendarFieldMetadataId',
|
||||
'visibility',
|
||||
'mainGroupByFieldMetadataId',
|
||||
'shouldHideEmptyGroups',
|
||||
] as const satisfies (keyof FlatView)[];
|
||||
|
||||
+1
@@ -52,6 +52,7 @@ export const fromCreateViewInputToFlatViewToCreate = ({
|
||||
calendarLayout: createViewInput.calendarLayout ?? null,
|
||||
icon: createViewInput.icon,
|
||||
isCompact: createViewInput.isCompact ?? false,
|
||||
shouldHideEmptyGroups: createViewInput.shouldHideEmptyGroups ?? false,
|
||||
kanbanAggregateOperation: createViewInput.kanbanAggregateOperation ?? null,
|
||||
kanbanAggregateOperationFieldMetadataId:
|
||||
createViewInput.kanbanAggregateOperationFieldMetadataId ?? null,
|
||||
|
||||
Reference in New Issue
Block a user