Skip to content

Commit 64db617

Browse files
committed
fix: make CollectionRequest.showAggregateTabs optional (CM-1193)
collection.page.vue's featured-star toggle builds a CollectionRequest object literal that omits showAggregateTabs (and other optional fields), relying on the backend to preserve omitted values on partial update. The field was typed as required, which breaks that existing call site. Signed-off-by: Gašper Grom <gasper.grom@gmail.com>
1 parent d75a249 commit 64db617

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/modules/admin/modules/collections/models/collection.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export interface CollectionRequest {
2626
color?: string;
2727
slug: string;
2828
starred: boolean;
29-
showAggregateTabs: boolean;
29+
showAggregateTabs?: boolean;
3030
projects: {
3131
id: string;
3232
starred: boolean;

0 commit comments

Comments
 (0)